summaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 04:36:29 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 04:36:29 +0200
commit127e7773b437bd5866a4424cc9b338bac6beb08b (patch)
treeeea54d125cc701dde808f57e1cf3fd609a1d16c5 /sysdeps/posix
parentb96aca4d05b2da5d5134b1c3176b16f48db9fe4d (diff)
hurd: Fix libc link
* sysdeps/posix/pause.c: Include <sigsetops.h>. * sysdeps/posix/system.c: Include <sigsetops.h>.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/pause.c1
-rw-r--r--sysdeps/posix/system.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c
index 53e143d98f..7c17f49ffb 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 d49cc3f01c..56195b529f 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. */