From f4a7caa418d3a283392b1142fe9863ae870ce3b8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 29 Jun 2003 19:46:13 +0000 Subject: compatibility fix for new GST_DEBUG stuff. Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately. --- ext/gsm/gstgsmdec.c | 5 ++++- ext/gsm/gstgsmenc.c | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'ext/gsm') diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c index bf5cf68f..957b832d 100644 --- a/ext/gsm/gstgsmdec.c +++ b/ext/gsm/gstgsmdec.c @@ -18,6 +18,9 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include "gstgsmdec.h" @@ -88,7 +91,7 @@ gst_gsmdec_class_init (GstGSMDec *klass) static void gst_gsmdec_init (GstGSMDec *gsmdec) { - GST_DEBUG (0,"gst_gsmdec_init: initializing"); + GST_DEBUG ("gst_gsmdec_init: initializing"); /* create the sink and src pads */ gsmdec->sinkpad = gst_pad_new_from_template (gsmdec_sink_template, "sink"); diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c index 9084257b..2b25042f 100644 --- a/ext/gsm/gstgsmenc.c +++ b/ext/gsm/gstgsmenc.c @@ -18,6 +18,9 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include "gstgsmenc.h" -- cgit v1.2.1