diff options
Diffstat (limited to 'system/include/sys/poll.h')
-rw-r--r-- | system/include/sys/poll.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system/include/sys/poll.h b/system/include/sys/poll.h index e72ac26f..55e85237 100644 --- a/system/include/sys/poll.h +++ b/system/include/sys/poll.h @@ -18,7 +18,9 @@ struct pollfd { short revents; }; -int poll(struct pollfd *data, int num, int extra); +typedef unsigned int nfds_t; + +int poll(struct pollfd *data, nfds_t num, int extra); #ifdef __cplusplus } |