diff options
Diffstat (limited to 'signal')
-rw-r--r-- | signal/signal.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/signal/signal.h b/signal/signal.h index a5fa8d4583..67f8cb4d3c 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -70,6 +70,15 @@ typedef __uid_t uid_t; # endif #endif /* Unix98 */ +#ifdef __USE_POSIX199309 +/* We need `struct timespec' later on. */ +# define __need_timespec +# include <time.h> + +/* Get the `siginfo_t' type plus the needed symbols. */ +# include <bits/siginfo.h> +#endif + /* Type of a signal handler. */ typedef void (*__sighandler_t) (int); @@ -209,15 +218,6 @@ typedef __sighandler_t sig_t; #ifdef __USE_POSIX -# ifdef __USE_POSIX199309 -/* We need `struct timespec' later on. */ -# define __need_timespec -# include <time.h> - -/* Get the `siginfo_t' type plus the needed symbols. */ -# include <bits/siginfo.h> -# endif - /* Clear all signals from SET. */ extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1)); |