diff options
Diffstat (limited to 'signal')
-rw-r--r-- | signal/signal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/signal/signal.h b/signal/signal.h index 864a49b6e1..819a81803d 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -167,15 +167,15 @@ typedef __sighandler_t sig_t; #endif /* <signal.h> included. */ -#ifdef __USE_POSIX - # if !defined __sigset_t_defined \ - && (defined _SIGNAL_H || defined __need_sigset_t) + && ((defined _SIGNAL_H && defined __USE_POSIX) || defined __need_sigset_t) typedef __sigset_t sigset_t; # define __sigset_t_defined 1 # endif /* `sigset_t' not defined and <signal.h> or need `sigset_t'. */ # undef __need_sigset_t +#ifdef __USE_POSIX + # ifdef _SIGNAL_H /* We need `struct timespec' later on. */ |