From 1b81b2562f3913f2d4fda5bd3a002430b51e0de4 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 6 Oct 2011 14:07:41 -0700 Subject: net-related headers --- system/include/poll.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system/include/poll.h') diff --git a/system/include/poll.h b/system/include/poll.h index 230f93c6..63c02b90 100644 --- a/system/include/poll.h +++ b/system/include/poll.h @@ -7,6 +7,7 @@ extern "C" { #define POLLOUT 2 #define POLLNVAL 4 #define POLLERR 8 +#define POLLHUP 16 struct pollfd { int fd; @@ -14,7 +15,7 @@ struct pollfd { short revents; }; -int poll(pollfd *data, int num, int extra); +int poll(struct pollfd *data, int num, int extra); #ifdef __cplusplus } -- cgit v1.2.3-18-g5258