Ensure that unistd.h is included on Linux
(or anywhere except non-Cygwin Windows, to be precise)
Bug reported by László Böszörményi
diff --git a/expat/xmlwf/readfilemap.c b/expat/xmlwf/readfilemap.c
index bd32b93..d816b26 100644
--- a/expat/xmlwf/readfilemap.c
+++ b/expat/xmlwf/readfilemap.c
@@ -8,16 +8,17 @@
#include <stdlib.h>
#include <stdio.h>
+/* Functions close(2) and read(2) */
#ifdef __WATCOMC__
#ifndef __LINUX__
#include <io.h>
#else
#include <unistd.h>
#endif
-#endif
-
-#ifdef __BEOS__
-#include <unistd.h>
+#else
+# if !defined(WIN32) && !defined(_WIN32) && !defined(_WIN64)
+# include <unistd.h>
+# endif
#endif
#ifndef S_ISREG