diff --git a/component/common/network/lwip/lwip_v1.4.1/port/realtek/arch/cc.h b/component/common/network/lwip/lwip_v1.4.1/port/realtek/arch/cc.h index b381e22..8de0b16 100644 --- a/component/common/network/lwip/lwip_v1.4.1/port/realtek/arch/cc.h +++ b/component/common/network/lwip/lwip_v1.4.1/port/realtek/arch/cc.h @@ -33,6 +33,7 @@ #define __CC_H__ #include "cpu.h" +#include typedef unsigned char u8_t; typedef signed char s8_t; diff --git a/component/common/network/lwip/lwip_v1.4.1/src/include/lwip/sockets.h b/component/common/network/lwip/lwip_v1.4.1/src/include/lwip/sockets.h index 3ea32f1..804a032 100644 --- a/component/common/network/lwip/lwip_v1.4.1/src/include/lwip/sockets.h +++ b/component/common/network/lwip/lwip_v1.4.1/src/include/lwip/sockets.h @@ -306,7 +306,7 @@ typedef struct ip_mreq { /** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided * by your system, set this to 0 and include in cc.h */ #ifndef LWIP_TIMEVAL_PRIVATE -#define LWIP_TIMEVAL_PRIVATE 1 +#define LWIP_TIMEVAL_PRIVATE 0 #endif #if LWIP_TIMEVAL_PRIVATE