From 367c17d1cf143ae0e9ab866d137bed161aaebd04 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 27 May 2016 11:48:59 +1000 Subject: [PATCH] lwip: Fix 'errno' not being set by sockets layer --- lwip/include/arch/cc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lwip/include/arch/cc.h b/lwip/include/arch/cc.h index 04dab26..2922a54 100644 --- a/lwip/include/arch/cc.h +++ b/lwip/include/arch/cc.h @@ -50,6 +50,8 @@ #include #include +#define ERRNO + #define BYTE_ORDER LITTLE_ENDIAN /** @todo fix some warnings: don't use #pragma if compiling with cygwin gcc */