diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-12-09 14:30:39 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-12-09 14:30:39 +0100 |
commit | ffc0bd03c4c41725ed2eee2fdea296eb42d26496 (patch) | |
tree | 4f239cd1c4a2e905895d87846fab7befb88ac170 | |
parent | a1b88fe87a9d2be5696247d266f5c4fd20f000bb (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>
-rw-r--r-- | include/signal.h | 2 |
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 |