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. --- sys/oss/gstosssink.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/oss/gstosssink.c') diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index 7bd4c988..1c424058 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -20,11 +20,15 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include #include +#include -#include +#include "gstosssink.h" /* elementfactory information */ static GstElementDetails gst_osssink_details = { @@ -634,7 +638,7 @@ gst_osssink_change_state (GstElement *element) gst_osscommon_close_audio (&osssink->common); GST_FLAG_UNSET (osssink, GST_OSSSINK_OPEN); - GST_INFO (GST_CAT_PLUGIN_INFO, "osssink: closed sound device"); + GST_INFO ( "osssink: closed sound device"); } break; } -- cgit