aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_contours_boundingrect.h
diff options
context:
space:
mode:
Diffstat (limited to 'pix_opencv_contours_boundingrect.h')
-rw-r--r--pix_opencv_contours_boundingrect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pix_opencv_contours_boundingrect.h b/pix_opencv_contours_boundingrect.h
index 0c23402..f89790e 100644
--- a/pix_opencv_contours_boundingrect.h
+++ b/pix_opencv_contours_boundingrect.h
@@ -19,8 +19,13 @@ LOG
#include "Base/GemPixObj.h"
#ifndef _EiC
+#ifdef __APPLE__
+#include <OpenCV/OpenCV.h>
+#include <OpenCV/cvcompat.h>
+#else
#include "cv.h"
#endif
+#endif
#define MAX_MARKERS 100