From 1efa9680ea494537dfb6befd818c6efb7f39b109 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sun, 8 May 2011 19:06:08 +0200
Subject: [PATCH 380/396] signal.h: needs size_t

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 include/signal.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/signal.h b/include/signal.h
index 71aaae5..4a8c732 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -305,6 +305,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)
@@ -420,6 +422,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
-- 
1.7.0.4

