mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
lwip berkely sockets port
This commit is contained in:
@@ -38,6 +38,11 @@
|
||||
#endif
|
||||
|
||||
#ifndef USE_WINDOWS_API
|
||||
#ifdef LWIP_SOCKETS
|
||||
#define LWIP_SOCKET 1 /* use berkely API */
|
||||
#define LWIP_COMPAT_SOCKETS 1
|
||||
#include "sockets.h"
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
@@ -52,6 +57,7 @@
|
||||
#ifdef THREADX
|
||||
#include <socket.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif /* USE_WINDOWS_API */
|
||||
|
||||
#ifdef __sun
|
||||
|
Reference in New Issue
Block a user