From 90b51562ab7956c4fe7893ebb45f8cf44772901b Mon Sep 17 00:00:00 2001 From: Alban Browaeys Date: Sat, 15 Jun 2013 00:12:18 +0200 Subject: [PATCH] opencv: fixes build by moving the c++ header to gstsegmentation.cpp Fixes: In file included from gstsegmentation.h:51:0, from gstopencv.c:42: /usr/include/opencv2/video/background_segm.hpp:47:16: fatal error: list: No such file or directory #include ^ compilation terminated. https://bugzilla.gnome.org/show_bug.cgi?id=702297 --- ext/opencv/gstsegmentation.cpp | 1 + ext/opencv/gstsegmentation.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opencv/gstsegmentation.cpp b/ext/opencv/gstsegmentation.cpp index 880313e12a..a6b3b10ed7 100644 --- a/ext/opencv/gstsegmentation.cpp +++ b/ext/opencv/gstsegmentation.cpp @@ -93,6 +93,7 @@ #include #include "gstsegmentation.h" +#include GST_DEBUG_CATEGORY_STATIC (gst_segmentation_debug); #define GST_CAT_DEFAULT gst_segmentation_debug diff --git a/ext/opencv/gstsegmentation.h b/ext/opencv/gstsegmentation.h index 146ae6cc4f..03577702c0 100644 --- a/ext/opencv/gstsegmentation.h +++ b/ext/opencv/gstsegmentation.h @@ -48,7 +48,6 @@ #include #include -#include G_BEGIN_DECLS /* #defines don't like whitespacey bits */ -- 2.34.1