aboutsummaryrefslogtreecommitdiff
path: root/system/include/poll.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-06 15:37:11 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-06 15:37:11 -0700
commitce6b7ea953dd0a974a0123e6674803a3b0b1f5a2 (patch)
treec902f3cee4e949565f4388bb5fd1462a932eff41 /system/include/poll.h
parent5e4a111053b401069fb4581bba191d60f9f6e527 (diff)
socket header stuff
Diffstat (limited to 'system/include/poll.h')
-rw-r--r--system/include/poll.h22
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"