]> Pileus Git - ~andy/gtk/commitdiff
Protect the unistd.h include by HAVE_UNISTD_H.
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 Sep 2004 16:42:09 +0000 (16:42 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 1 Sep 2004 16:42:09 +0000 (16:42 +0000)
2004-09-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystemunix.c:
* gtk/gtkfilechooserbutton.c: Protect the unistd.h include
by HAVE_UNISTD_H.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserbutton.c
gtk/gtkfilesystemunix.c

index 870a8a8dc6b91b2fd0ed707969b58c704b2771aa..78dc760dbf27b1248e75d643b8427b16bfdf91d9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilesystemunix.c: 
+       * gtk/gtkfilechooserbutton.c: Protect the unistd.h include
+       by HAVE_UNISTD_H.
+
 Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
index 870a8a8dc6b91b2fd0ed707969b58c704b2771aa..78dc760dbf27b1248e75d643b8427b16bfdf91d9 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilesystemunix.c: 
+       * gtk/gtkfilechooserbutton.c: Protect the unistd.h include
+       by HAVE_UNISTD_H.
+
 Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
index 870a8a8dc6b91b2fd0ed707969b58c704b2771aa..78dc760dbf27b1248e75d643b8427b16bfdf91d9 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilesystemunix.c: 
+       * gtk/gtkfilechooserbutton.c: Protect the unistd.h include
+       by HAVE_UNISTD_H.
+
 Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
index 870a8a8dc6b91b2fd0ed707969b58c704b2771aa..78dc760dbf27b1248e75d643b8427b16bfdf91d9 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilesystemunix.c: 
+       * gtk/gtkfilechooserbutton.c: Protect the unistd.h include
+       by HAVE_UNISTD_H.
+
 Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
index a819a8d94060ba31182e5b15d9ca9ed119793056..27bb1f47b4f97c4980908606cd3a86dfaa24ddde 100644 (file)
@@ -24,7 +24,9 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 
 #include <string.h>
 
index 4bb5c212c50534941dafb253623652e28364f71f..eb4b4e7492977b1663f9142475de9b0df934ab87 100644 (file)
@@ -35,7 +35,9 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <pwd.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <stdio.h>
 #include <time.h>