--- Makefile.config.orig 2017-08-24 10:43:43.000000000 +0900 +++ Makefile.config 2017-08-24 10:43:54.000000000 +0900 @@ -47,7 +47,7 @@ # atlas for ATLAS (default) # mkl for MKL # open for OpenBlas -BLAS := atlas +BLAS := open # Custom (MKL/ATLAS/OpenBLAS) include and lib directories. # Leave commented to accept the defaults for your choice of BLAS # (which should work)! --- include/caffe/util/mkl_alternate.hpp.orig 2014-12-18 01:12:23.000000000 +0900 +++ include/caffe/util/mkl_alternate.hpp 2017-08-24 10:43:54.000000000 +0900 @@ -11,7 +11,7 @@ #include #else extern "C" { -#include +#include } #endif // USE_ACCELERATE