+2008-04-28 Michael Smith <msmith@songbirdnest.com>
+
+ * gst/playback/test4.c:
+ * gst/playback/test5.c:
+ * gst/playback/test6.c:
+ * gst/tcp/gstmultifdsink.c:
+ Include stdlib.h and unistd.h only if the appropriate HAVE_*_H macro
+ is defined.
+
2008-04-28 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/audio/gstbaseaudiosink.h:
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_STDLIB_H
#include <stdlib.h> /* exit() */
+#endif
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <gst/gst.h>
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+#ifdef HAVE_STDLIB_H
#include <stdlib.h> /* exit */
+#endif
#include <gst/gst.h>
static GMainLoop *loop;
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+#ifdef HAVE_STDLIB_H
#include <stdlib.h> /* exit */
+#endif
#include <gst/gst.h>
static void
#include <gst/gst-i18n-plugin.h>
#include <sys/ioctl.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>