Message ID | 20180128184045.5892-3-samuel.thibault@ens-lyon.org |
---|---|
State | New |
Headers | show |
Series | hurd: build fixes | expand |
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.
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. */