[hurd,commited] hurd: Fix libc link
Samuel Thibault
samuel.thibault@ens-lyon.org
Sun Sep 3 02:38:00 GMT 2017
* sysdeps/posix/pause.c: Include <sigsetops.h>.
* sysdeps/posix/system.c: Include <sigsetops.h>.
---
ChangeLog | 2 ++
sysdeps/posix/pause.c | 1 +
sysdeps/posix/system.c | 1 +
3 files changed, 4 insertions(+)
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. */
--
2.14.1
More information about the Libc-alpha
mailing list