[lwIP] use timeval in libc when minilibc is used

This commit is contained in:
Bernard Xiong 2017-11-01 13:37:40 +08:00
parent f6170a6e5b
commit 6cdaa43747
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ typedef rt_uint32_t mem_ptr_t;
#define LWIP_PROVIDE_ERRNO
#endif
#ifdef RT_USING_LIBC
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC)
#include <sys/time.h>
#define LWIP_TIMEVAL_PRIVATE 0
#else