diff --git a/components/net/lwip/src/arch/include/arch/cc.h b/components/net/lwip/src/arch/include/arch/cc.h index 3bce4fff9..0633494d1 100644 --- a/components/net/lwip/src/arch/include/arch/cc.h +++ b/components/net/lwip/src/arch/include/arch/cc.h @@ -63,6 +63,7 @@ typedef rt_uint32_t mem_ptr_t; #define ESHUTDOWN 180 #elif RT_USING_MINILIBC #include +#define EADDRNOTAVAIL 99 /* Cannot assign requested address */ #else #define LWIP_PROVIDE_ERRNO #endif