fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS

This commit is contained in:
goldsimon 2011-10-18 11:00:10 +02:00
parent e039d4103f
commit 8b9f70ac08
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,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

View File

@ -387,6 +387,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 */