summaryrefslogtreecommitdiff
path: root/libc/signal/sigpause.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-15 19:33:47 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:37 +0200
commit7049cfee24a745b918a6a55fe0e076c1ab75f563 (patch)
treeb64be16c553319312793ec885cc23d79fe83a3b1 /libc/signal/sigpause.c
parent95a2ed35514f8e5cc1d1de423a589dedc54df092 (diff)
signal: cleanup, include only headers that are needed
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/signal/sigpause.c')
-rw-r--r--libc/signal/sigpause.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c
index 0856ba2e6..e773b3c13 100644
--- a/libc/signal/sigpause.c
+++ b/libc/signal/sigpause.c
@@ -22,7 +22,8 @@
#include <errno.h>
#define __FAVOR_BSD
#include <signal.h>
-#include <stddef.h> /* For NULL. */
+#define __need_NULL
+#include <stddef.h>
#ifdef __UCLIBC_HAS_THREADS_NATIVE__
#include <sysdep-cancel.h>
#endif