From f503060bbbba36d1bb1f1548682b8b08e8a2cc0f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 26 Feb 2009 15:44:18 +0000 Subject: * libio/stdio.h: dprintf, fmemopen, getdelim, getline, open_memstream, and vdprintf are in POSIX 2008. --- signal/signal.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'signal') diff --git a/signal/signal.h b/signal/signal.h index a5fa8d4..67f8cb4 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 + +/* Get the `siginfo_t' type plus the needed symbols. */ +# include +#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 - -/* Get the `siginfo_t' type plus the needed symbols. */ -# include -# endif - /* Clear all signals from SET. */ extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1)); -- cgit v1.1