commit 147af4d: [Minor] Fix build with no hyperscan
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Dec 24 17:14:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-24 17:07:14 +0000
URL: https://github.com/rspamd/rspamd/commit/147af4de56ab222847d883ea53f738cd14b65577 (HEAD -> master)
[Minor] Fix build with no hyperscan
---
src/libserver/re_cache.c | 4 ++--
1 file 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, \
More information about the Commits
mailing list