diff --git a/src/arch/simddetect.cpp b/src/arch/simddetect.cpp index a29ba08a..892dd2e3 100644 --- a/src/arch/simddetect.cpp +++ b/src/arch/simddetect.cpp @@ -15,7 +15,9 @@ // limitations under the License. /////////////////////////////////////////////////////////////////////// +#ifdef HAVE_CONFIG_H #include "config_auto.h" // for HAVE_AVX, ... +#endif #include // for std::inner_product #include "simddetect.h" #include "dotproduct.h"