From 7049cfee24a745b918a6a55fe0e076c1ab75f563 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 15 Apr 2011 19:33:47 +0200 Subject: signal: cleanup, include only headers that are needed Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/signal/sigaction.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libc/signal/sigaction.c') diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c index 5a5a60c3a..d6aef331b 100644 --- a/libc/signal/sigaction.c +++ b/libc/signal/sigaction.c @@ -16,14 +16,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include -#include #include -#include #include -#include - #if defined __NR_rt_sigaction /* If ACT is not NULL, change the action for SIG to *ACT. @@ -42,6 +37,9 @@ __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) } #else +# define __need_NULL +# include +# include /* If ACT is not NULL, change the action for SIG to *ACT. If OACT is not NULL, put the old action for SIG in *OACT. */ -- cgit v1.2.3