diff --git a/CHANGELOG b/CHANGELOG index efb8aee2..3886c4f0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -49,6 +49,9 @@ HISTORY ++ Bugfixes: + 2011-10-18: Simon Goldschmidt + * sockets.h: fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS + 2011-10-17: Simon Goldschmidt * api_msg.c: fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api diff --git a/src/include/lwip/sockets.h b/src/include/lwip/sockets.h index 6bc25a36..3ea32f13 100644 --- a/src/include/lwip/sockets.h +++ b/src/include/lwip/sockets.h @@ -365,6 +365,7 @@ int lwip_fcntl(int s, int cmd, int val); #define read(a,b,c) lwip_read(a,b,c) #define write(a,b,c) lwip_write(a,b,c) #define close(s) lwip_close(s) +#define fcntl(a,b,c) lwip_fcntl(a,b,c) #endif /* LWIP_POSIX_SOCKETS_IO_NAMES */ #endif /* LWIP_COMPAT_SOCKETS */