diff options
Diffstat (limited to 'Libraries/LibC/poll.h')
-rw-r--r-- | Libraries/LibC/poll.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Libraries/LibC/poll.h b/Libraries/LibC/poll.h index 051357249a..af0ff254c5 100644 --- a/Libraries/LibC/poll.h +++ b/Libraries/LibC/poll.h @@ -26,6 +26,7 @@ #pragma once +#include <signal.h> #include <sys/cdefs.h> __BEGIN_DECLS @@ -43,6 +44,9 @@ struct pollfd { short revents; }; -int poll(struct pollfd* fds, int nfds, int timeout); +typedef unsigned nfds_t; + +int poll(struct pollfd* fds, nfds_t nfds, int timeout); +int ppoll(struct pollfd* fds, nfds_t nfds, const struct timespec* timeout, const sigset_t* sigmask); __END_DECLS |