Merge branch 'bugfix/fix_unistd_io_when_disable_vfs' into 'master'

fix(lwip): fix "unistd.h" I/O APIs not declare when disable VFS

See merge request sdk/ESP8266_RTOS_SDK!989
This commit is contained in:
Dong Heng
2019-06-18 09:59:07 +08:00

View File

@ -33,3 +33,9 @@
#include "sdkconfig.h"
#include "lwip/sockets.h"
#if !LWIP_POSIX_SOCKETS_IO_NAMES
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#endif /* !LWIP_POSIX_SOCKETS_IO_NAMES */