diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-02-26 15:44:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-02-26 15:44:18 +0000 |
commit | f503060bbbba36d1bb1f1548682b8b08e8a2cc0f (patch) | |
tree | ac0a8bf7c112fcc9cc69b3a9cb4ddcd8e129554d /signal | |
parent | * locale/langinfo.h: nl_langinfo_l is in POSIX 2008. (diff) | |
download | glibc-f503060bbbba36d1bb1f1548682b8b08e8a2cc0f.tar.gz glibc-f503060bbbba36d1bb1f1548682b8b08e8a2cc0f.tar.bz2 glibc-f503060bbbba36d1bb1f1548682b8b08e8a2cc0f.zip |
* libio/stdio.h: dprintf, fmemopen, getdelim, getline,
open_memstream, and vdprintf are in POSIX 2008.
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)); |