From dd73c924ac3bf7ab4aa32c57ec514b35c02b1460 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 9 Jan 2013 01:30:08 +0100 Subject: curl: ignore SIGPIPE - compilation fix --- src/tool_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tool_main.c b/src/tool_main.c index ec6517650..c4121b269 100644 --- a/src/tool_main.c +++ b/src/tool_main.c @@ -87,8 +87,8 @@ int main(int argc, char *argv[]) main_checkfds(); -#ifdef HAVE_SIGNAL - signal(SIGPIPE, SIG_IGN); +#ifdef SIGPIPE + (void)signal(SIGPIPE, SIG_IGN); #endif res = operate(&config, argc, argv); -- cgit v1.2.3