[lwIP] use timeval in libc when minilibc is used
@@ -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
