Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git] / bertos / net / lwip.c
index c95254e011ee69f413a4a940ed301ba9fc6a0f5d..8adb25b876559914c34992395ace3c665591557f 100644 (file)
  * \author Andrea Righi        <arighi@develer.com>
  */
 
+/*
+ * 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. */