From fec5997d1d6228401b2941cf87eddf694637aaa5 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 8 Mar 2018 08:48:39 +0100 Subject: [PATCH] mingw: fix compile error --- src/suricata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/suricata.c b/src/suricata.c index 8b39ea68f5..10d5fcd823 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -2470,8 +2470,10 @@ static void PostRunStartedDetectSetup(const SCInstance *suri) /* force 'reload', this will load the rules and swap engines */ DetectEngineReload(suri); SCLogNotice("Signature(s) loaded, Detect thread(s) activated."); +#ifndef OS_WIN32 UtilSignalHandlerSetup(SIGUSR2, SignalHandlerSigusr2); UtilSignalUnblock(SIGUSR2); +#endif } }