mirror of https://github.com/wolfSSL/wolfssl.git
lwip berkely sockets port
parent
a2f734c3b8
commit
e01822f8bb
|
@ -38,19 +38,25 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef USE_WINDOWS_API
|
#ifndef USE_WINDOWS_API
|
||||||
#include <sys/types.h>
|
#ifdef LWIP_SOCKETS
|
||||||
#include <errno.h>
|
#define LWIP_SOCKET 1 /* use berkely API */
|
||||||
#include <unistd.h>
|
#define LWIP_COMPAT_SOCKETS 1
|
||||||
#include <fcntl.h>
|
#include "sockets.h"
|
||||||
#if !(defined(DEVKITPRO) || defined(THREADX))
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/types.h>
|
||||||
#include <arpa/inet.h>
|
#include <errno.h>
|
||||||
#include <netinet/in.h>
|
#include <unistd.h>
|
||||||
#include <netdb.h>
|
#include <fcntl.h>
|
||||||
#include <sys/ioctl.h>
|
#if !(defined(DEVKITPRO) || defined(THREADX))
|
||||||
#endif
|
#include <sys/socket.h>
|
||||||
#ifdef THREADX
|
#include <arpa/inet.h>
|
||||||
#include <socket.h>
|
#include <netinet/in.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#endif
|
||||||
|
#ifdef THREADX
|
||||||
|
#include <socket.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif /* USE_WINDOWS_API */
|
#endif /* USE_WINDOWS_API */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue