summaryrefslogtreecommitdiff
path: root/ext/cog
diff options
context:
space:
mode:
Diffstat (limited to 'ext/cog')
-rw-r--r--ext/cog/Makefile.am1
-rw-r--r--ext/cog/gstcogmse.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/cog/Makefile.am b/ext/cog/Makefile.am
index 81e0f15e1..bbed6fe0e 100644
--- a/ext/cog/Makefile.am
+++ b/ext/cog/Makefile.am
@@ -5,6 +5,7 @@ include $(top_srcdir)/common/orc.mak
libgstcog_la_CFLAGS = \
-DCOG_ENABLE_UNSTABLE_API \
+ $(GST_PLUGINS_BAD_CFLAGS) \
-I$(srcdir)/.. \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS) \
diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c
index f4ac3fb58..f73a3b8d4 100644
--- a/ext/cog/gstcogmse.c
+++ b/ext/cog/gstcogmse.c
@@ -23,6 +23,7 @@
#endif
#include <gst/gst.h>
+#include <gst/glib-compat-private.h>
#include <gst/video/video.h>
#include <string.h>
#include <cog/cogframe.h>