summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-12-09 14:30:39 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-12-09 14:30:39 +0100
commitffc0bd03c4c41725ed2eee2fdea296eb42d26496 (patch)
tree4f239cd1c4a2e905895d87846fab7befb88ac170 /include/signal.h
parenta1b88fe87a9d2be5696247d266f5c4fd20f000bb (diff)
sigaction: Fix !HAS_REALTIME compilation
In file included from ./include/signal.h:279:0, from libc/sysdeps/linux/x86_64/sigaction.c:22: ./include/bits/sigaction.h:32:29: error: unknown type name 'siginfo_t' void (*sa_sigaction)(int, siginfo_t *, void *); Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/signal.h')
-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