remove compiling problems on non-SCC plattforms
This commit is contained in:
parent
63b9e2e177
commit
610f8177d8
1 changed files with 4 additions and 0 deletions
|
@ -47,20 +47,24 @@
|
|||
/* See http://www.nwlab.net/art/netio/netio.html to get the netio tool */
|
||||
|
||||
#ifdef CONFIG_LWIP
|
||||
#ifdef CONFIG_ROCKCREEK
|
||||
#if USE_SOCKET_BYPASSING // for socket bypassing
|
||||
#include <lwip/opt.h>
|
||||
#undef LWIP_COMPAT_SOCKETS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <lwip/sockets.h>
|
||||
#include <lwip/err.h>
|
||||
#include <lwip/stats.h>
|
||||
|
||||
#ifdef CONFIG_ROCKCREEK
|
||||
#if USE_SOCKET_BYPASSING // for socket bypassing
|
||||
#include <net/mmnif.h>
|
||||
#undef AF_INET
|
||||
#define AF_INET AF_MMNIF_NET
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue