about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 19:36:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 19:36:49 +0100
commit625ba81ef5ed7b65269f88c5d85d4d9c0380c685 (patch)
treebf2197fe3907bf734b3688da5e91e2e31a9173c4
parenta902a0866abf4709852fa62302aab6d34a0b5240 (diff)
downloadglibc-625ba81ef5ed7b65269f88c5d85d4d9c0380c685.tar.gz
glibc-625ba81ef5ed7b65269f88c5d85d4d9c0380c685.tar.xz
glibc-625ba81ef5ed7b65269f88c5d85d4d9c0380c685.zip
hurd: Include <sigsetops.h> from hurd/hurd/signal.h
* hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
IS_IN(libpthread)]: Include <sigsetops.h>.
-rw-r--r--ChangeLog2
-rw-r--r--hurd/hurd/signal.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 59fc5f950d..9a9c1fdd38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,6 +94,8 @@
 	_POSIX_NO_TRUNC): Define to 0.
 	* sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
 	check size against PTHREAD_STACK_MIN.
+	* hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
+	IS_IN(libpthread)]: Include <sigsetops.h>.
 
 2008-12-18  Thomas Schwinge  <tschwinge@gnu.org>
 
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h
index 1d9c7d8cd7..5ee95acd09 100644
--- a/hurd/hurd/signal.h
+++ b/hurd/hurd/signal.h
@@ -42,6 +42,11 @@
 #include <spin-lock.h>
 #include <hurd/threadvar.h>	/* We cache sigstate in a threadvar.  */
 struct hurd_signal_preemptor;	/* <hurd/sigpreempt.h> */
+#if defined __USE_EXTERN_INLINES && defined _LIBC
+#  if IS_IN (libc) || IS_IN (libpthread)
+#    include <sigsetops.h>
+#  endif
+#endif
 
 
 /* Full details of a signal.  */