summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index edd7a9768..be24cf366 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -98,7 +98,9 @@ typedef __uid_t uid_t;
/* We need `struct timespec' later on. */
# define __need_timespec
# include <time.h>
+#endif
+#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED
/* Get the `siginfo_t' type plus the needed symbols. */
# include <bits/siginfo.h>
#endif