summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2007-03-01 22:26:51 +0000
committerKhem Raj <kraj@mvista.com>2007-03-01 22:26:51 +0000
commit530155cb274b725f3c275b19c6dc6c5875ad9b60 (patch)
treee74edd5fa2d92311773bf362665b593f8054133e
parente587dc38e39d9ed31ebbba32ff80bd64ba45be3f (diff)
include stddef.h to get NULL definition.
-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