[hurd,commited,2/3] hurd: Include <sigsetops.h> from hurd/hurd/signal.h
Commit Message
* hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
IS_IN(libpthread)]: Include <sigsetops.h>.
---
ChangeLog | 2 ++
hurd/hurd/signal.h | 5 +++++
2 files changed, 7 insertions(+)
Comments
On Sun, 28 Jan 2018, Samuel Thibault wrote:
> 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
Again, should be one column of preprocessor indentation per #if level.
@@ -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>
@@ -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. */