aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/poll.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/sys/poll.h b/include/sys/poll.h
index a42bc93873..f904e21f89 100644
--- a/include/sys/poll.h
+++ b/include/sys/poll.h
@@ -6,6 +6,17 @@ extern int __poll (struct pollfd *__fds, unsigned long int __nfds,
int __timeout);
libc_hidden_proto (__poll)
libc_hidden_proto (ppoll)
-#endif
+# if __TIMESIZE == 64
+# define __ppoll64 __ppoll
+# else
+# include <time.h>
+# include <signal.h>
+
+extern int __ppoll64 (struct pollfd *fds, nfds_t nfds,
+ const struct __timespec64 *timeout,
+ const sigset_t *sigmask);
+libc_hidden_proto (__ppoll64)
+# endif
+#endif
#endif