summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-05-08 19:06:08 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:44 +0200
commit17e76f80709516b46fc6ba327fb6bf7280e4b42b (patch)
treee21f75359fb4d62fcf88bf02acb1d96dcf560f5e /include/signal.h
parentfc4fb38b294f7de6619cd899e61737331684592c (diff)
signal.h: needs size_t
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index 9763713d0..d7fb33469 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -310,6 +310,8 @@ extern int __syscall_sigaction(int, __const struct old_kernel_sigaction *,
# else /* this is how the function is built */
extern __typeof(sigaction) __syscall_sigaction attribute_hidden;
# endif
+# define __need_size_t
+# include <stddef.h>
/* candidate for attribute_hidden, if NPTL would behave */
extern int __syscall_rt_sigaction(int, __const struct sigaction *,
struct sigaction *, size_t)
@@ -425,6 +427,8 @@ extern int sigreturn (struct sigcontext *__scp) __THROW;
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
+# define __need_size_t
+# include <stddef.h>
# ifdef __UCLIBC_SUSV4_LEGACY__
/* If INTERRUPT is nonzero, make signal SIG interrupt system calls