diff options
Diffstat (limited to 'include/sys/select.h')
-rw-r--r-- | include/sys/select.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/include/sys/select.h b/include/sys/select.h index 07bb49b994..6f6b848e29 100644 --- a/include/sys/select.h +++ b/include/sys/select.h @@ -14,5 +14,18 @@ extern int __select (int __nfds, fd_set *__restrict __readfds, struct timeval *__restrict __timeout); libc_hidden_proto (__select) -#endif -#endif +# if __TIMESIZE == 64 +# define __pselect64 __pselect +# else +# include <time.h> +# include <signal.h> + +extern int __pselect64 (int __nfds, fd_set *__readfds, fd_set *__writefds, + fd_set *__exceptfds, + const struct __timespec64 *__timeout, + const sigset_t *__sigmask); +libc_hidden_proto (__pselect64) +# endif /* __TIMESIZE == 64 */ + +#endif /* _ISOMAC */ +#endif /* _SYS_SELECT_H */ |