aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-24 17:07:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-24 17:07:14 +0000
commit147af4de56ab222847d883ea53f738cd14b65577 (patch)
treebb0fe5e027119842b427d37490ef0eb168397d3c
parent825617333396f105391b293914a1fb081040141b (diff)
downloadrspamd-147af4de56ab222847d883ea53f738cd14b65577.tar.gz
rspamd-147af4de56ab222847d883ea53f738cd14b65577.zip
[Minor] Fix build with no hyperscan
-rw-r--r--src/libserver/re_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c
index 7bab42e5d..6889861cc 100644
--- a/src/libserver/re_cache.c
+++ b/src/libserver/re_cache.c
@@ -30,6 +30,8 @@
#ifdef WITH_HYPERSCAN
#include "hs.h"
+#endif
+
#include "unix-std.h"
#include <signal.h>
#include <stdalign.h>
@@ -48,8 +50,6 @@
#include <sys/wait.h>
#endif
-#endif
-
#define msg_err_re_cache(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \
"re_cache", cache->hash, \
G_STRFUNC, \