summary refs log tree commit diff
path: root/signal
diff options
context:
space:
mode:
Diffstat (limited to 'signal')
-rw-r--r--signal/sigandset.c2
-rw-r--r--signal/sigisempty.c2
-rw-r--r--signal/sigorset.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/signal/sigandset.c b/signal/sigandset.c
index bb3747c19d..962cf015d4 100644
--- a/signal/sigandset.c
+++ b/signal/sigandset.c
@@ -18,6 +18,8 @@
 
 #include <errno.h>
 #include <signal.h>
+#define __need_NULL
+#include <stddef.h>
 
 /* Combine sets LEFT and RIGHT by logical AND and place result in DEST.  */
 int
diff --git a/signal/sigisempty.c b/signal/sigisempty.c
index 50dc343491..24e166d00e 100644
--- a/signal/sigisempty.c
+++ b/signal/sigisempty.c
@@ -18,6 +18,8 @@
 
 #include <errno.h>
 #include <signal.h>
+#define __need_NULL
+#include <stddef.h>
 
 /* Test whether SET is empty.  */
 int
diff --git a/signal/sigorset.c b/signal/sigorset.c
index e8ae22fd5a..474cff3e28 100644
--- a/signal/sigorset.c
+++ b/signal/sigorset.c
@@ -18,6 +18,8 @@
 
 #include <errno.h>
 #include <signal.h>
+#define __need_NULL
+#include <stddef.h>
 
 /* Combine sets LEFT and RIGHT by logical OR and place result in DEST.  */
 int