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/sigintr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/signal/sigintr.c') diff --git a/libc/signal/sigintr.c b/libc/signal/sigintr.c index 10567e939..210d493ca 100644 --- a/libc/signal/sigintr.c +++ b/libc/signal/sigintr.c @@ -16,16 +16,16 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include #include -#include - /* If INTERRUPT is nonzero, make signal SIG interrupt system calls (causing them to fail with EINTR); if INTERRUPT is zero, make system calls be restarted after signal SIG. */ #ifdef SA_RESTART -extern sigset_t _sigintr attribute_hidden; /* Defined in signal.c. */ +# define __need_NULL +# include +#else +# include #endif int siginterrupt (int sig, int interrupt) -- cgit v1.2.3