[lwIP] use timeval in libc when minilibc is used
This commit is contained in:
parent
f6170a6e5b
commit
6cdaa43747
|
@ -69,7 +69,7 @@ typedef rt_uint32_t mem_ptr_t;
|
||||||
#define LWIP_PROVIDE_ERRNO
|
#define LWIP_PROVIDE_ERRNO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RT_USING_LIBC
|
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC)
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#define LWIP_TIMEVAL_PRIVATE 0
|
#define LWIP_TIMEVAL_PRIVATE 0
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue