aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_main.c4
1 files changed, 2 insertions, 2 deletions
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);