diff --git a/src/tool_main.c b/src/tool_main.c index ec651765099fd198044fe1af388e0d4fbe67db7e..c4121b269e21c7224629948b4e8efc615bad494e 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);