From ffc0bd03c4c41725ed2eee2fdea296eb42d26496 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 9 Dec 2014 14:30:39 +0100 Subject: 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 --- include/signal.h | 2 ++ 1 file changed, 2 insertions(+) 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 +#endif +#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED /* Get the `siginfo_t' type plus the needed symbols. */ # include #endif -- cgit v1.2.3