aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-12 09:34:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-12 09:34:34 +0000
commita84fef624d9de5faf21bcc393cb4156c4a65a010 (patch)
tree79735a78aa44e3ed9c501f4fbc82c34ded136d62 /src/libserver/cfg_utils.c
parent108985de1103bb6e5af190ee5a4e985a08504468 (diff)
downloadrspamd-a84fef624d9de5faf21bcc393cb4156c4a65a010.tar.gz
rspamd-a84fef624d9de5faf21bcc393cb4156c4a65a010.zip
[Minor] Add missing include
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 58e8c0d11..204e9bd55 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -2780,6 +2780,14 @@ rspamd_free_zstd_dictionary (struct zstd_dictionary *dict)
}
}
+#ifdef HAVE_CBLAS
+#ifdef HAVE_CBLAS_H
+#include "cblas.h"
+#else
+extern void openblas_set_num_threads(int num_threads);
+#endif
+#endif
+
gboolean
rspamd_config_libs (struct rspamd_external_libs_ctx *ctx,
struct rspamd_config *cfg)