--- @GLIB@.orig\gio\glib-compile-schemas.c.orig	2011-03-08 06:51:21.838888000 +0900
+++ @GLIB@\gio\glib-compile-schemas.c	2011-03-14 01:22:18.599732000 +0900
@@ -26,7 +26,9 @@
 #include <gstdio.h>
 #include <locale.h>
 #include <string.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif /* HAVE_UNISTD_H */
 #include <stdio.h>
 
 #include <gi18n.h>
--- @GLIBb@.orig\gio\gvdb\gvdb-builder.c.orig	2011-03-08 06:51:21.379861000 +0900
+++ @GLIB@\gio\gvdb\gvdb-builder.c	2011-03-14 01:21:09.641788000 +0900
@@ -24,7 +24,9 @@
 
 #include <glib.h>
 #include <fcntl.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif /* HAVE_UNISTD_H */
 #include <string.h>
 
 
