diff options
Diffstat (limited to 'system/include/poll.h')
-rw-r--r-- | system/include/poll.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/system/include/poll.h b/system/include/poll.h index 63c02b90..e4c40dca 100644 --- a/system/include/poll.h +++ b/system/include/poll.h @@ -1,23 +1,3 @@ -#ifdef __cplusplus -extern "C" { -#endif - -#define POLLIN 1 -#define POLLOUT 2 -#define POLLNVAL 4 -#define POLLERR 8 -#define POLLHUP 16 - -struct pollfd { - int fd; - short events; - short revents; -}; - -int poll(struct pollfd *data, int num, int extra); - -#ifdef __cplusplus -} -#endif +#include "sys/poll.h" |