From 97b512ef62c7e25c97ed5e9eca81cd7015b2ac91 Mon Sep 17 00:00:00 2001 From: "Field G. Van Zee" Date: Fri, 6 May 2016 10:24:30 -0500 Subject: [PATCH] Include headers from cblas.h to pull in f77_int. Details: - Added #include statements for certain key BLIS headers so that the definition of f77_int is pulled in when a user compiles application code with only #include "cblas.h" (and no other BLIS header). This is necessary since f77_int is now used within the cblas API. --- frame/compat/cblas/src/cblas.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frame/compat/cblas/src/cblas.h b/frame/compat/cblas/src/cblas.h index f8b4d43a4..1ee6209c9 100644 --- a/frame/compat/cblas/src/cblas.h +++ b/frame/compat/cblas/src/cblas.h @@ -2,6 +2,14 @@ #define CBLAS_H #include +// We need to #include "bli_type_defs.h" in order to pull in the +// definition of f77_int. But in order to #include that header, we +// also need to pull in the headers that precede it in blis.h. +#include "bli_system.h" +#include "bli_config.h" +#include "bli_config_macro_defs.h" +#include "bli_type_defs.h" + /* * Enumerated and derived types */