summaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/sigpause.c1
-rw-r--r--sysdeps/posix/sigwait.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/posix/sigpause.c b/sysdeps/posix/sigpause.c
index 414019a40d..d954125ee4 100644
--- a/sysdeps/posix/sigpause.c
+++ b/sysdeps/posix/sigpause.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <signal.h>
+#include <stddef.h> /* For NULL. */
/* Set the mask of blocked signals to MASK,
wait for a signal to arrive, and then restore the mask. */
diff --git a/sysdeps/posix/sigwait.c b/sysdeps/posix/sigwait.c
index 2e70eef568..a754c7c111 100644
--- a/sysdeps/posix/sigwait.c
+++ b/sysdeps/posix/sigwait.c
@@ -1,5 +1,5 @@
-/* sigwait - implementation of sigwait function from POSIX.1c.
- Copyright (C) 1996 Free Software Foundation, Inc.
+/* Implementation of sigwait function from POSIX.1c.
+ Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -21,7 +21,7 @@
#include <assert.h>
#include <errno.h>
#include <signal.h>
-
+#include <stddef.h> /* For NULL. */
/* This is our dummy signal handler we use here. */
static void ignore_signal (int sig);