From 90da904f1e435812ce245928b80cfd325785ff37 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 29 Jun 2003 19:46:12 +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/speex/gstspeexdec.c | 5 ++++- ext/speex/gstspeexenc.c | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'ext/speex') diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index 924f0b02..3d92a086 100644 --- a/ext/speex/gstspeexdec.c +++ b/ext/speex/gstspeexdec.c @@ -18,6 +18,9 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include "gstspeexdec.h" @@ -87,7 +90,7 @@ gst_speexdec_class_init (GstSpeexDec *klass) static void gst_speexdec_init (GstSpeexDec *speexdec) { - GST_DEBUG (0,"gst_speexdec_init: initializing"); + GST_DEBUG ("gst_speexdec_init: initializing"); /* create the sink and src pads */ speexdec->sinkpad = gst_pad_new_from_template (speexdec_sink_template, "sink"); diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index 006700bd..b9e06596 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -18,6 +18,9 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include "gstspeexenc.h" -- cgit