aboutsummaryrefslogtreecommitdiff
path: root/system/include/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/poll.h')
-rw-r--r--system/include/poll.h3
1 files changed, 2 insertions, 1 deletions
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
}