diff --git a/modules/core/include/opencv2/core/eigen.hpp b/modules/core/include/opencv2/core/eigen.hpp index 91bcb20d8e..31bbd436a3 100644 --- a/modules/core/include/opencv2/core/eigen.hpp +++ b/modules/core/include/opencv2/core/eigen.hpp @@ -46,7 +46,9 @@ #ifdef __cplusplus #include "cxcore.h" +#ifndef EIGEN_CORE_H #include +#endif namespace cv {