aboutsummaryrefslogtreecommitdiff
path: root/Eigen/src/misc/lapacke.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/misc/lapacke.h')
-rwxr-xr-xEigen/src/misc/lapacke.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/Eigen/src/misc/lapacke.h b/Eigen/src/misc/lapacke.h
index 3d8e24f5a..8c7e79b03 100755
--- a/Eigen/src/misc/lapacke.h
+++ b/Eigen/src/misc/lapacke.h
@@ -43,6 +43,10 @@
#include "lapacke_config.h"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <stdlib.h>
#ifndef lapack_int
@@ -104,11 +108,6 @@ lapack_complex_double lapack_make_complex_double( double re, double im );
#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#ifndef LAPACKE_malloc
#define LAPACKE_malloc( size ) malloc( size )
#endif