diff --git a/components/net/lwip-1.4.1/src/arch/include/arch/cc.h b/components/net/lwip-1.4.1/src/arch/include/arch/cc.h index 02b2f43907..62aa6c8ab4 100644 --- a/components/net/lwip-1.4.1/src/arch/include/arch/cc.h +++ b/components/net/lwip-1.4.1/src/arch/include/arch/cc.h @@ -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 #define LWIP_TIMEVAL_PRIVATE 0 #else