From a7db42e4f0caa65a481a6d4c4fa393ca2539be19 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 9 Jan 2013 22:47:41 +0100 Subject: curl: ignore SIGPIPE - compilation fix - follow-up --- src/tool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tool_main.c b/src/tool_main.c index c4121b269..cf2d862b2 100644 --- a/src/tool_main.c +++ b/src/tool_main.c @@ -87,7 +87,7 @@ int main(int argc, char *argv[]) main_checkfds(); -#ifdef SIGPIPE +#if defined(HAVE_SIGNAL) && defined(SIGPIPE) (void)signal(SIGPIPE, SIG_IGN); #endif -- cgit v1.2.3