diff --git a/ports/unix/include/arch/sys_arch.h b/ports/unix/include/arch/sys_arch.h index eb0e566..7e6a2c9 100644 --- a/ports/unix/include/arch/sys_arch.h +++ b/ports/unix/include/arch/sys_arch.h @@ -33,7 +33,6 @@ #define __ARCH_SYS_ARCH_H__ #include -#include #define SYS_MBOX_NULL NULL #define SYS_SEM_NULL NULL diff --git a/ports/unix/proj/lib/lwipopts.h b/ports/unix/proj/lib/lwipopts.h index d74a7ec..d48e4da 100644 --- a/ports/unix/proj/lib/lwipopts.h +++ b/ports/unix/proj/lib/lwipopts.h @@ -32,6 +32,9 @@ #ifndef __LWIPOPTS_H__ #define __LWIPOPTS_H__ +/* is included in cc.h! */ +#define LWIP_TIMEVAL_PRIVATE 0 + /* ---------- Memory options ---------- */ /* MEM_ALIGNMENT: should be set to the alignment of the CPU for which lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2 diff --git a/ports/unix/proj/minimal/lwipopts.h b/ports/unix/proj/minimal/lwipopts.h index 3d8734d..4f047b1 100644 --- a/ports/unix/proj/minimal/lwipopts.h +++ b/ports/unix/proj/minimal/lwipopts.h @@ -32,6 +32,9 @@ #ifndef __LWIPOPTS_H__ #define __LWIPOPTS_H__ +/* is included in cc.h! */ +#define LWIP_TIMEVAL_PRIVATE 0 + #define NO_SYS 1 /* #define LWIP_EVENT_API 1 */ diff --git a/ports/unix/proj/unixsim/lwipopts.h b/ports/unix/proj/unixsim/lwipopts.h index 13871cd..de374b5 100644 --- a/ports/unix/proj/unixsim/lwipopts.h +++ b/ports/unix/proj/unixsim/lwipopts.h @@ -31,6 +31,10 @@ */ #ifndef __LWIPOPTS_H__ #define __LWIPOPTS_H__ + +/* is included in cc.h! */ +#define LWIP_TIMEVAL_PRIVATE 0 + #define LWIP_DBG_MIN_LEVEL 0 #define LWIP_COMPAT_SOCKETS 1 #define TAPIF_DEBUG LWIP_DBG_ON