diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/opencv/gstpyramidsegment.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/opencv/gstpyramidsegment.h b/ext/opencv/gstpyramidsegment.h index 5c210ca85..47123f495 100644 --- a/ext/opencv/gstpyramidsegment.h +++ b/ext/opencv/gstpyramidsegment.h @@ -49,6 +49,10 @@ #include <gst/gst.h> #include <cv.h> +#if CV_MAJOR_VERSION * 100 + CV_MINOR_VERSION >= 204 +#include <opencv2/legacy/legacy.hpp> +#endif + G_BEGIN_DECLS /* #defines don't like whitespacey bits */ #define GST_TYPE_PYRAMID_SEGMENT \ |