X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Flwip.c;h=8adb25b876559914c34992395ace3c665591557f;hb=41718ab2098bd5640da265c34f1ecb79a4123d39;hp=8bc9b3b51fb5a01a4ea06c02d2da76df683b53f2;hpb=f2ca5848308f810f477d8a21ba66d5faca3d9b19;p=bertos.git diff --git a/bertos/net/lwip.c b/bertos/net/lwip.c index 8bc9b3b5..8adb25b8 100644 --- a/bertos/net/lwip.c +++ b/bertos/net/lwip.c @@ -34,6 +34,11 @@ * \author Andrea Righi */ +/* + * Required by arm-2010.09-51-arm-none-eabi toolchain + */ +#define __LINUX_ERRNO_EXTENSIONS__ + /* XXX: exclude all the lwIP stuff from the BeRTOS documentation for now */ #ifndef __doxygen__ /* Ensure that the lwIP compile-time options are included first. */ @@ -100,9 +105,7 @@ #endif /* lwIP network interface */ -#if LWIP_ARP #include "lwip/src/netif/etharp.c" -#endif #include "lwip/src/netif/loopif.c" /* lwIP PPP implementation */