From 875d520ccfcfbb6a77cc5166b8bd562c3d111718 Mon Sep 17 00:00:00 2001 From: Zaheer Chothia Date: Thu, 31 Jan 2013 08:48:27 +0100 Subject: [PATCH] Refs #193. cblas: move #include out of extern "C" block. Standard headers may contain C++ templates which are not permitted inside an extern "C" block. This might be the case when we include . --- cblas.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cblas.h b/cblas.h index 501e7d0d1..6684262e2 100644 --- a/cblas.h +++ b/cblas.h @@ -1,14 +1,14 @@ #ifndef CBLAS_H #define CBLAS_H +#include +#include "common.h" + #ifdef __cplusplus extern "C" { /* Assume C declarations for C++ */ #endif /* __cplusplus */ -#include -#include "common.h" - /*Set the number of threads on runtime.*/ void openblas_set_num_threads(int num_threads); void goto_set_num_threads(int num_threads);