mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-29 22:45:48 +08:00
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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user