mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-24 15:57:14 +02:00
IDF release/v4.0 08219f3cf
This commit is contained in:
@ -15,7 +15,11 @@
|
||||
#ifndef __ESP_SYS_SELECT_H__
|
||||
#define __ESP_SYS_SELECT_H__
|
||||
|
||||
/* Newlib 2.2.0 does not provide sys/select.h, and fd_set is defined in sys/types.h */
|
||||
#include <sys/types.h>
|
||||
#ifndef fd_set
|
||||
#include_next <sys/select.h>
|
||||
#else // fd_set
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -28,4 +32,6 @@ int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // fd_set
|
||||
|
||||
#endif //__ESP_SYS_SELECT_H__
|
||||
|
Reference in New Issue
Block a user