]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix build with no hyperscan
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Dec 2019 17:07:14 +0000 (17:07 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Dec 2019 17:07:14 +0000 (17:07 +0000)
src/libserver/re_cache.c

index 7bab42e5daaef34b1bb18769db363fb207ff92d4..6889861ccc3828f5c4e171cc81d4bb684d5b60db 100644 (file)
@@ -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, \