NetworkSocketAPI / C027Interface

Dependencies:   C027_Support

Dependents:   HelloC027Interface U_Blox_DeviceConnector U_Blox_DeviceConnector U-Blox_Client

Fork of LWIPInterface by NetworkSocketAPI

Files at this revision

API Documentation at this revision

Comitter:
geky
Date:
Thu Mar 31 11:55:52 2016 +0000
Parent:
9:0c271431385e
Child:
11:82796df87b0a
Commit message:
Added workaound for timeval declaration in Linux

Changed in this revision

lwip.lib Show annotated file Show diff for this revision Revisions of this file
lwipopts.h Show annotated file Show diff for this revision Revisions of this file
--- a/lwip.lib	Wed Mar 09 06:02:50 2016 +0000
+++ b/lwip.lib	Thu Mar 31 11:55:52 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/lwip/#1046f8be4d44
+http://mbed.org/users/mbed_official/code/lwip/#08f08bfc3f3d
--- a/lwipopts.h	Wed Mar 09 06:02:50 2016 +0000
+++ b/lwipopts.h	Thu Mar 31 11:55:52 2016 +0000
@@ -21,6 +21,12 @@
 
 #include "lwipopts_conf.h"
 
+// Workaround for Linux timeval
+#if defined (TOOLCHAIN_GCC)
+#define LWIP_TIMEVAL_PRIVATE 0
+#include <sys/time.h>
+#endif
+
 // Operating System 
 #define NO_SYS                      0