diff options
Diffstat (limited to 'components/libc/compilers/common/sys')
| -rw-r--r-- | components/libc/compilers/common/sys/select.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/libc/compilers/common/sys/select.h b/components/libc/compilers/common/sys/select.h index db42b6ebcc..08420b0d10 100644 --- a/components/libc/compilers/common/sys/select.h +++ b/components/libc/compilers/common/sys/select.h @@ -12,6 +12,7 @@ #define __SYS_SELECT_H__ #include <rtconfig.h> +#include <sys/time.h> #include <sys/types.h> #ifndef FD_SETSIZE @@ -46,4 +47,6 @@ typedef struct _types_fd_set { #define FD_ZERO(p) memset((void*)(p), 0, sizeof(*(p))) #endif /* _SYS_TYPES_FD_SET */ +int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); + #endif /* __SYS_SELECT_H__ */ |
