diff --git a/components/net/lwip/src/arch/include/arch/cc.h b/components/net/lwip/src/arch/include/arch/cc.h index 9571dbff4e57a2d0e003e949f4aa6c0228f21a7e..cad3411cc93c648d05966d452fd9d0843a895337 100644 --- a/components/net/lwip/src/arch/include/arch/cc.h +++ b/components/net/lwip/src/arch/include/arch/cc.h @@ -57,6 +57,10 @@ typedef rt_uint32_t mem_ptr_t; #include /* some errno not defined in newlib */ #define ENSRNOTFOUND 163 /* Domain name not found */ +/* WARNING: ESHUTDOWN also not defined in newlib. We chose + 180 here because the number "108" which is used + in arch.h has been assigned to another error code. */ +#define ESHUTDOWN 180 #else #define LWIP_PROVIDE_ERRNO #endif