[git commit] sigaction: Fix !HAS_REALTIME compilation

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Dec 9 13:30:39 UTC 2014


commit: http://git.uclibc.org/uClibc/commit/?id=ffc0bd03c4c41725ed2eee2fdea296eb42d26496
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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 at gmail.com>
---
 include/signal.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/signal.h b/include/signal.h
index edd7a97..be24cf3 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


More information about the uClibc-cvs mailing list