diff --git a/apps/netio.c b/apps/netio.c index 088fe6b0..9a6c374c 100644 --- a/apps/netio.c +++ b/apps/netio.c @@ -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 #undef LWIP_COMPAT_SOCKETS #endif +#endif #include #include #include +#ifdef CONFIG_ROCKCREEK #if USE_SOCKET_BYPASSING // for socket bypassing #include #undef AF_INET #define AF_INET AF_MMNIF_NET #endif +#endif typedef struct {