]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add missing include
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 12 Feb 2020 09:34:34 +0000 (09:34 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 12 Feb 2020 09:34:34 +0000 (09:34 +0000)
src/libserver/cfg_utils.c

index 58e8c0d11b8c3935578a7a59c6f751c068d71734..204e9bd55d305fde2ed235966038ceb25dc3c578 100644 (file)
@@ -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)