aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-12-17 13:37:54 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-12-17 13:37:54 +0000
commitccb45df90df60fae36b9438cfb2b0088e590306b (patch)
tree96b753ded6bfd743d525bd67af1285d627090979
parentdb53b98ad48d974cd24ce3eca3f243d15e2cc584 (diff)
downloadrspamd-ccb45df90df60fae36b9438cfb2b0088e590306b.tar.gz
rspamd-ccb45df90df60fae36b9438cfb2b0088e590306b.zip
[Fix] Fix crash on FreeBSD when Rspamd is built without hyperscan
-rw-r--r--src/rspamd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 088bfba49..dafd9aebe 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