mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-31 03:38:02 +08:00
[libc] include <sys/select.h> when enable HAVE_SYS_SELECT_H
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
|
||||
#if defined(RT_USING_NEWLIB) || defined(_WIN32)
|
||||
#include <sys/types.h>
|
||||
#if defined(HAVE_SYS_SELECT_H)
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#ifdef RT_USING_DFS_NET
|
||||
@@ -68,4 +72,3 @@ typedef struct _types_fd_set {
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user