diff --git a/frame/compat/cblas/src/cblas.h b/frame/compat/cblas/src/cblas.h index 22399ac8d4..97aa380364 100644 --- a/frame/compat/cblas/src/cblas.h +++ b/frame/compat/cblas/src/cblas.h @@ -3,11 +3,16 @@ #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" +// 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. + +// NOTE: bli_config.h must be included before any other BLIS header. It is +// bootstrapped by ./configure and does not depend on later headers. Moreover +// these configuration variables are necessary to change some default behaviors +// (e.g. disable OS detection in bli_system.h in case of --disable-system). #include "bli_config.h" +#include "bli_system.h" #include "bli_config_macro_defs.h" #include "bli_type_defs.h" diff --git a/frame/include/blis.h b/frame/include/blis.h index 6292f47452..9286fc3cea 100644 --- a/frame/include/blis.h +++ b/frame/include/blis.h @@ -50,11 +50,10 @@ extern "C" { // -- configure definitions -- -// NOTE: bli_config.h header must be included before any BLIS header. -// It is bootstrapped by ./configure and does not depend on later -// headers. Moreover, these configuration variables are necessary to change -// some default behaviors (e.g. disable OS-detection in bli_system.h in case -// of --disable-system). +// NOTE: bli_config.h must be included before any other BLIS header. It is +// bootstrapped by ./configure and does not depend on later headers. Moreover +// these configuration variables are necessary to change some default behaviors +// (e.g. disable OS detection in bli_system.h in case of --disable-system). #include "bli_config.h" // -- System and language-related headers --