From: Yang Tse Date: Wed, 9 Jan 2013 21:47:41 +0000 (+0100) Subject: curl: ignore SIGPIPE - compilation fix - follow-up X-Git-Tag: curl-7_29_0~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7db42e4f0caa65a481a6d4c4fa393ca2539be19;p=thirdparty%2Fcurl.git curl: ignore SIGPIPE - compilation fix - follow-up --- diff --git a/src/tool_main.c b/src/tool_main.c index c4121b269e..cf2d862b2e 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