summaryrefslogtreecommitdiff
path: root/sys/shm
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-27 14:49:58 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-27 15:47:07 +0000
commit8147669971151c33d12c645a242406e518291ff0 (patch)
tree95fcad2d1c8066f768d85fcfdc8547e5660322d2 /sys/shm
parentf4d6e03b9b36e76d57745438178d3ddacddb9247 (diff)
downloadgstreamer-plugins-bad-8147669971151c33d12c645a242406e518291ff0.tar.gz
plenty: fixup glib deprecations
Diffstat (limited to 'sys/shm')
-rw-r--r--sys/shm/Makefile.am2
-rw-r--r--sys/shm/gstshmsink.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/shm/Makefile.am b/sys/shm/Makefile.am
index bfe7b49fe..59a1e3b79 100644
--- a/sys/shm/Makefile.am
+++ b/sys/shm/Makefile.am
@@ -5,7 +5,7 @@ include $(top_srcdir)/common/glib-gen.mak
plugin_LTLIBRARIES = libgstshm.la
libgstshm_la_SOURCES = shmpipe.c shmalloc.c gstshm.c gstshmsrc.c gstshmsink.c
-libgstshm_la_CFLAGS = $(GST_CFLAGS) -DSHM_PIPE_USE_GLIB
+libgstshm_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS) -DSHM_PIPE_USE_GLIB
libgstshm_la_LIBADD = -lrt
libgstshm_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS)
libgstshm_la_LIBTOOLFLAGS = --tag=disable-static
diff --git a/sys/shm/gstshmsink.c b/sys/shm/gstshmsink.c
index 903760be1..111fbbf0f 100644
--- a/sys/shm/gstshmsink.c
+++ b/sys/shm/gstshmsink.c
@@ -27,6 +27,7 @@
#include "gstshmsink.h"
#include <gst/gst.h>
+#include <gst/glib-compat-private.h>
#include <string.h>