summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sys/poll.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/poll.h b/include/sys/poll.h
index 4085b785e..70f0d3159 100644
--- a/include/sys/poll.h
+++ b/include/sys/poll.h
@@ -30,6 +30,8 @@
/* Get the timespec definition. */
# define __need_timespec
# include <time.h>
+/* get NULL definition. */
+# include <stddef.h>
#endif