From 610f8177d805c807b924ae253d68b576a8d0d9b2 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 24 Oct 2011 16:23:25 +0200 Subject: [PATCH] remove compiling problems on non-SCC plattforms --- apps/netio.c | 4 ++++ 1 file changed, 4 insertions(+) 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 {