about summary refs log tree commit diff
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
parentb96aca4d05b2da5d5134b1c3176b16f48db9fe4d (diff)
downloadglibc-127e7773b437bd5866a4424cc9b338bac6beb08b.tar.gz
glibc-127e7773b437bd5866a4424cc9b338bac6beb08b.tar.xz
glibc-127e7773b437bd5866a4424cc9b338bac6beb08b.zip
hurd: Fix libc link
	* sysdeps/posix/pause.c: Include <sigsetops.h>.
	* sysdeps/posix/system.c: Include <sigsetops.h>.
-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 11edadd5fc..858848c9ee 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 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.  */