mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-27 09:22:25 +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)
|
#if defined(RT_USING_NEWLIB) || defined(_WIN32)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#if defined(HAVE_SYS_SELECT_H)
|
||||||
|
#include <sys/select.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef RT_USING_DFS_NET
|
#ifdef RT_USING_DFS_NET
|
||||||
@@ -68,4 +72,3 @@ typedef struct _types_fd_set {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user