diff --git a/src/OpenCV.h b/src/OpenCV.h index 23e3bec..beab026 100755 --- a/src/OpenCV.h +++ b/src/OpenCV.h @@ -11,6 +11,8 @@ #include #include #include +#else +#include #endif #include #include diff --git a/src/init.cc b/src/init.cc index 9429a05..5fcb791 100755 --- a/src/init.cc +++ b/src/init.cc @@ -36,11 +36,11 @@ init(Handle target) { StereoGC::Init(target); #endif - #if CV_MAJOR_VERSION >= 2 && CV_MINOR_VERSION >=4 - BackgroundSubtractorWrap::Init(target); - Features::Init(target); - FaceRecognizerWrap::Init(target); - #endif + #if CV_MAJOR_VERSION >= 2 && CV_MINOR_VERSION >=4 + BackgroundSubtractorWrap::Init(target); + Features::Init(target); + FaceRecognizerWrap::Init(target); + #endif };