aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/posix/pause.c1
-rw-r--r--sysdeps/posix/system.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 11edadd..858848c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,8 @@
* sysdeps/posix/pwritev64v2.c: Include <errno.h>.
* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk): New
functions.
+ * sysdeps/posix/pause.c: Include <sigsetops.h>.
+ * sysdeps/posix/system.c: Include <sigsetops.h>.
2017-09-01 Joseph Myers <joseph@codesourcery.com>
diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c
index 53e143d..7c17f49 100644
--- a/sysdeps/posix/pause.c
+++ b/sysdeps/posix/pause.c
@@ -19,6 +19,7 @@
#include <signal.h>
#include <unistd.h>
#include <sysdep-cancel.h>
+#include <sigsetops.h>
/* Suspend the process until a signal arrives.
This always returns -1 and sets errno to EINTR. */
diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c
index d49cc3f..56195b5 100644
--- a/sysdeps/posix/system.c
+++ b/sysdeps/posix/system.c
@@ -24,6 +24,7 @@
#include <sys/wait.h>
#include <libc-lock.h>
#include <sysdep-cancel.h>
+#include <sigsetops.h>
#define SHELL_PATH "/bin/sh" /* Path of the shell. */