From a6928ee380fd645b49e9b82e6afc3f484ec66672 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 20 Apr 2004 23:03:28 +0000 Subject: ext/mad/gstid3tag.c: Add stdlib.h Original commit message from CVS: reviewed by David Schleef * ext/mad/gstid3tag.c: Add stdlib.h * gst/rtp/gstrtpgsmenc.c: same * gst/tags/gstid3tag.c: same * gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE * gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust GST_DISABLE_LOADSAVE use. * gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise. * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise. * ext/gnomevfs/gstgnomevfssrc.c: Include (needed by atol(3)). * sys/oss/gstosselement.h: Include (needed for dev_t). * gst/tags/gstvorbistag.c: Include (needed by strtoul(3)). * gst/rtp/gstrtpL16enc.c: Include (needed by random(3)). * ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS) $(ID3_CFLAGS). * ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add $(LIBFAME_CFLAGS). --- gst/udp/gstudpsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/udp/gstudpsink.c') diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c index de2a652b..7de10b0f 100644 --- a/gst/udp/gstudpsink.c +++ b/gst/udp/gstudpsink.c @@ -158,6 +158,7 @@ gst_udpsink_class_init (GstUDPSink * klass) static GstPadLinkReturn gst_udpsink_sink_link (GstPad * pad, const GstCaps * caps) { +#ifndef GST_DISABLE_LOADSAVE GstUDPSink *udpsink; struct sockaddr_in serv_addr; struct hostent *serverhost; @@ -165,7 +166,6 @@ gst_udpsink_sink_link (GstPad * pad, const GstCaps * caps) FILE *f; guint bc_val; -#ifndef GST_DISABLE_LOADSAVE xmlDocPtr doc; xmlChar *buf; int buf_size; -- cgit