diff --git a/ChangeLog b/ChangeLog index 3b407f65b8..bf2e55ab90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND, + SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined. + 2015-08-18 Mike Frysinger * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define. diff --git a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h index ebe375fb1e..2a12060ac8 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h @@ -59,6 +59,8 @@ struct sigaction three arguments instead of one. */ #if defined __USE_UNIX98 || defined __USE_MISC # define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */ +#endif +#if defined __USE_UNIX98 || defined __USE_XOPEN2K8 # define SA_RESETHAND 0x00000004 /* Reset to SIG_DFL on entry to handler. */ # define SA_NODEFER 0x00000020 /* Don't automatically block the signal when its handler is being executed. */