From: Vsevolod Stakhov Date: Tue, 24 Dec 2019 17:07:14 +0000 (+0000) Subject: [Minor] Fix build with no hyperscan X-Git-Tag: 2.3~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=147af4de56ab222847d883ea53f738cd14b65577;p=thirdparty%2Frspamd.git [Minor] Fix build with no hyperscan --- diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c index 7bab42e5da..6889861ccc 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, \