about summary refs log tree commit diff
path: root/signal/signal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-26 15:44:18 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-26 15:44:18 +0000
commitf503060bbbba36d1bb1f1548682b8b08e8a2cc0f (patch)
treeac0a8bf7c112fcc9cc69b3a9cb4ddcd8e129554d /signal/signal.h
parent1f04d005421644726a8c6b9ac78ba22ed938f5f0 (diff)
downloadglibc-f503060bbbba36d1bb1f1548682b8b08e8a2cc0f.tar.gz
glibc-f503060bbbba36d1bb1f1548682b8b08e8a2cc0f.tar.xz
glibc-f503060bbbba36d1bb1f1548682b8b08e8a2cc0f.zip
* libio/stdio.h: dprintf, fmemopen, getdelim, getline,
	open_memstream, and vdprintf are in POSIX 2008.
Diffstat (limited to 'signal/signal.h')
-rw-r--r--signal/signal.h18
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));