tools/gst-run.c: Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
authorEdward Hervey <edward.hervey@collabora.co.uk>
Sat, 26 Apr 2008 00:13:03 +0000 (00:13 +0000)
committerMichael Smith <msmith@xiph.org>
Sat, 26 Apr 2008 00:13:03 +0000 (00:13 +0000)
Original commit message from CVS:
Patch by Edward Hervey <edward.hervey@collabora.co.uk>
* tools/gst-run.c:
Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.

ChangeLog
tools/gst-run.c

index bf5b4ca..08c5151 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-25  Michael Smith <msmith@songbirdnest.com>
+
+       Patch by Edward Hervey <edward.hervey@collabora.co.uk>
+       * tools/gst-run.c:
+         Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
+
 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
 
        * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
index 4c6dee3..ac6e64a 100644 (file)
@@ -25,7 +25,9 @@
 
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <errno.h>
 #include <glib.h>