We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b15ef7 + fccd8d1 commit bf1b165Copy full SHA for bf1b165
components/lwip/port/esp32xx/vfs_lwip.c
@@ -10,6 +10,7 @@
10
#include <sys/errno.h>
11
#include <sys/lock.h>
12
#include <sys/fcntl.h>
13
+#include <sys/select.h>
14
#include "esp_attr.h"
15
#include "esp_vfs.h"
16
#include "sdkconfig.h"
@@ -21,6 +22,8 @@
21
22
#endif
23
24
_Static_assert(MAX_FDS >= CONFIG_LWIP_MAX_SOCKETS, "MAX_FDS < CONFIG_LWIP_MAX_SOCKETS");
25
+_Static_assert(FD_SETSIZE >= CONFIG_LWIP_MAX_SOCKETS, "FD_SETSIZE < CONFIG_LWIP_MAX_SOCKETS");
26
+_Static_assert(LWIP_SOCKET_OFFSET >= 6, "Not enough room for esp_vfs_console (LWIP_SOCKET_OFFSET < 6)");
27
28
#ifdef CONFIG_VFS_SUPPORT_SELECT
29
0 commit comments