aboutsummaryrefslogtreecommitdiff
path: root/system/include/sys/poll.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-13 15:00:41 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-13 15:00:41 -0700
commit3080e660509bf9bc9c0f3083000c29c44b34555d (patch)
tree65d2d5d6b60646df4ef1884c461661b499eb00a4 /system/include/sys/poll.h
parentfe00c08a453ecd805835525f13c0180bda8eeec3 (diff)
header fixes for speak.js
Diffstat (limited to 'system/include/sys/poll.h')
-rw-r--r--system/include/sys/poll.h4
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
}