From 147af4de56ab222847d883ea53f738cd14b65577 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 Dec 2019 17:07:14 +0000 Subject: [PATCH] [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 #include @@ -48,8 +50,6 @@ #include #endif -#endif - #define msg_err_re_cache(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \ "re_cache", cache->hash, \ G_STRFUNC, \ -- 2.39.5