From: Vsevolod Stakhov Date: Tue, 17 Dec 2024 13:37:54 +0000 (+0000) Subject: [Fix] Fix crash on FreeBSD when Rspamd is built without hyperscan X-Git-Tag: 3.11.1~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccb45df90df60fae36b9438cfb2b0088e590306b;p=thirdparty%2Frspamd.git [Fix] Fix crash on FreeBSD when Rspamd is built without hyperscan --- diff --git a/src/rspamd.c b/src/rspamd.c index 088bfba49c..dafd9aebeb 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -56,9 +56,10 @@ #ifdef WITH_HYPERSCAN #include "libserver/hyperscan_tools.h" -#include "rspamd_simdutf.h" #endif +#include "rspamd_simdutf.h" + /* 2 seconds to fork new process in place of dead one */ #define SOFT_FORK_TIME 2