aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-01-09 22:47:41 +0100
committerYang Tse <yangsita@gmail.com>2013-01-09 22:47:41 +0100
commita7db42e4f0caa65a481a6d4c4fa393ca2539be19 (patch)
treeac37cc010b0ffb91c2a13de806bb93f1c6e3fcb7 /src
parent308cce8231b3715fad4fc5f275c47d0a479ce516 (diff)
curl: ignore SIGPIPE - compilation fix - follow-up
Diffstat (limited to 'src')
-rw-r--r--src/tool_main.c2
1 files changed, 1 insertions, 1 deletions
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