[gst-cvs] gstreamer: build: sprintf, sscanf need stdio.h
Stefan Kost
ensonic at kemper.freedesktop.org
Wed Oct 7 01:02:28 PDT 2009
Module: gstreamer
Branch: master
Commit: cfb4aa462703865a651d9da1afddb688e896d8aa
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=cfb4aa462703865a651d9da1afddb688e896d8aa
Author: Stefan Kost <ensonic at users.sf.net>
Date: Wed Oct 7 10:00:05 2009 +0300
build: sprintf, sscanf need stdio.h
---
docs/manual/basics-init.xml | 1 +
gst/gstpluginfeature.c | 1 +
gst/gstvalue.c | 1 +
plugins/elements/gstfilesink.h | 2 ++
tests/benchmarks/gstbufferstress.c | 1 +
tests/benchmarks/gstclockstress.c | 1 +
tests/benchmarks/gstpollstress.c | 1 +
tests/examples/launch/mp3parselaunch.c | 1 +
tools/gst-launch.c | 1 +
9 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/docs/manual/basics-init.xml b/docs/manual/basics-init.xml
index 5d57d3a..fe76fd5 100644
--- a/docs/manual/basics-init.xml
+++ b/docs/manual/basics-init.xml
@@ -24,6 +24,7 @@
<title>Initializing GStreamer</title>
<programlisting>
<!-- example-begin init.c -->
+#include <stdio.h>
#include <gst/gst.h>
int
diff --git a/gst/gstpluginfeature.c b/gst/gstpluginfeature.c
index 3065f53..4b193ca 100644
--- a/gst/gstpluginfeature.c
+++ b/gst/gstpluginfeature.c
@@ -35,6 +35,7 @@
#include "gstregistry.h"
#include "gstinfo.h"
+#include <stdio.h>
#include <string.h>
#define GST_CAT_DEFAULT GST_CAT_PLUGIN_LOADING
diff --git a/gst/gstvalue.c b/gst/gstvalue.c
index 23977fe..9dc3b2d 100644
--- a/gst/gstvalue.c
+++ b/gst/gstvalue.c
@@ -34,6 +34,7 @@
#include "config.h"
#endif
#include <math.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
diff --git a/plugins/elements/gstfilesink.h b/plugins/elements/gstfilesink.h
index 5bc934d..3f0d6ce 100644
--- a/plugins/elements/gstfilesink.h
+++ b/plugins/elements/gstfilesink.h
@@ -24,6 +24,8 @@
#ifndef __GST_FILE_SINK_H__
#define __GST_FILE_SINK_H__
+#include <stdio.h>
+
#include <gst/gst.h>
#include <gst/base/gstbasesink.h>
diff --git a/tests/benchmarks/gstbufferstress.c b/tests/benchmarks/gstbufferstress.c
index 2305ad8..ade5829 100644
--- a/tests/benchmarks/gstbufferstress.c
+++ b/tests/benchmarks/gstbufferstress.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <gst/gst.h>
diff --git a/tests/benchmarks/gstclockstress.c b/tests/benchmarks/gstclockstress.c
index 51bf332..6c1895c 100644
--- a/tests/benchmarks/gstclockstress.c
+++ b/tests/benchmarks/gstclockstress.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <gst/gst.h>
diff --git a/tests/benchmarks/gstpollstress.c b/tests/benchmarks/gstpollstress.c
index abc3714..2fce251 100644
--- a/tests/benchmarks/gstpollstress.c
+++ b/tests/benchmarks/gstpollstress.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <gst/gst.h>
diff --git a/tests/examples/launch/mp3parselaunch.c b/tests/examples/launch/mp3parselaunch.c
index 1e7ea7c..fcd7fe5 100644
--- a/tests/examples/launch/mp3parselaunch.c
+++ b/tests/examples/launch/mp3parselaunch.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
#include <stdlib.h>
#include <gst/gst.h>
diff --git a/tools/gst-launch.c b/tools/gst-launch.c
index 5d2c3d4..6cc2a4e 100644
--- a/tools/gst-launch.c
+++ b/tools/gst-launch.c
@@ -30,6 +30,7 @@
#define DISABLE_FAULT_HANDLER
#endif
+#include <stdio.h>
#include <string.h>
#include <signal.h>
#ifdef HAVE_UNISTD_H
More information about the Gstreamer-commits
mailing list