lwip: Fix 'errno' not being set by sockets layer

This commit is contained in:
Angus Gratton 2016-05-27 11:48:59 +10:00
parent 3ba19d7c4e
commit 367c17d1cf

View file

@ -50,6 +50,8 @@
#include <sys/time.h> #include <sys/time.h>
#include <sys/errno.h> #include <sys/errno.h>
#define ERRNO
#define BYTE_ORDER LITTLE_ENDIAN #define BYTE_ORDER LITTLE_ENDIAN
/** @todo fix some warnings: don't use #pragma if compiling with cygwin gcc */ /** @todo fix some warnings: don't use #pragma if compiling with cygwin gcc */