commit a84fef6: [Minor] Add missing include

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Feb 12 15:07:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-02-12 09:34:34 +0000
URL: https://github.com/rspamd/rspamd/commit/a84fef624d9de5faf21bcc393cb4156c4a65a010

[Minor] Add missing include

---
 src/libserver/cfg_utils.c | 8 ++++++++
 1 file changed, 8 insertions(+)

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)


More information about the Commits mailing list