summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2006-09-25 11:47:42 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-09-25 11:47:42 +0000
commitb234d9b0f9ccf0db1fdfeccef24feb7508eb2fa1 (patch)
tree46099f27a02579482caa8046b4de4b638f9512b6
parentca1f1969791957e2971f47fbef5bd1e7285ea3bb (diff)
gst/: Include stdlib.h in some more places, makes things compile with uClibc and -Werror (#357592).
Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/alpha/gstalpha.c: * gst/rtp/gstrtpamrdepay.c: * gst/rtsp/gstrtspsrc.c: * gst/udp/gstudpsrc.c: * gst/videomixer/videomixer.c: Include stdlib.h in some more places, makes things compile with uClibc and -Werror (#357592).
-rw-r--r--ChangeLog12
-rw-r--r--gst/alpha/gstalpha.c1
-rw-r--r--gst/rtp/gstrtpamrdepay.c1
-rw-r--r--gst/rtsp/gstrtspsrc.c1
-rw-r--r--gst/udp/gstudpsrc.c1
-rw-r--r--gst/videomixer/videomixer.c1
6 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fd7ddb12..fbeeda1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
+ Patch by: Peter Kjellerstedt <pkj at axis com>
+
+ * gst/alpha/gstalpha.c:
+ * gst/rtp/gstrtpamrdepay.c:
+ * gst/rtsp/gstrtspsrc.c:
+ * gst/udp/gstudpsrc.c:
+ * gst/videomixer/videomixer.c:
+ Include stdlib.h in some more places, makes things compile
+ with uClibc and -Werror (#357592).
+
+2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
+
* ext/jpeg/gstjpegdec.c:
Set minimum height to 8 (from 16), our code should handle
that fine. Some of the buttons on the apple trailer site
diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c
index 0b5ffb7e..6deffdbd 100644
--- a/gst/alpha/gstalpha.c
+++ b/gst/alpha/gstalpha.c
@@ -23,6 +23,7 @@
#include <gst/gst.h>
#include <gst/video/video.h>
+#include <stdlib.h>
#include <string.h>
#include <math.h>
diff --git a/gst/rtp/gstrtpamrdepay.c b/gst/rtp/gstrtpamrdepay.c
index 5e7f1569..6e789103 100644
--- a/gst/rtp/gstrtpamrdepay.c
+++ b/gst/rtp/gstrtpamrdepay.c
@@ -23,6 +23,7 @@
#include <gst/rtp/gstrtpbuffer.h>
+#include <stdlib.h>
#include <string.h>
#include "gstrtpamrdepay.h"
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 0c8f5bf8..506e563b 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -89,6 +89,7 @@
#endif
#include <unistd.h>
+#include <stdlib.h>
#include <string.h>
#include "gstrtspsrc.h"
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index 6feccdb1..85ad7c68 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -90,6 +90,7 @@
#include "gstudpsrc.h"
#include <unistd.h>
+#include <stdlib.h>
#include <gst/netbuffer/gstnetbuffer.h>
diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c
index c12fbeb8..b8d926b8 100644
--- a/gst/videomixer/videomixer.c
+++ b/gst/videomixer/videomixer.c
@@ -52,6 +52,7 @@
#include <gst/gst.h>
#include <gst/base/gstcollectpads.h>
+#include <stdlib.h>
#include <string.h>
GST_DEBUG_CATEGORY_STATIC (gst_videomixer_debug);