> I get an error with rev 19699 on Mac PPC 10.4:

Does the attached patch help?

Bo
Index: src/support/filetools.cpp
===================================================================
--- src/support/filetools.cpp	(revision 19698)
+++ src/support/filetools.cpp	(working copy)
@@ -50,15 +50,27 @@
 #include <fstream>
 #include <sstream>
 
-#ifdef unix
+#ifdef HAVE_UNISTD_H
 # include <unistd.h>
-# include <utime.h>
+#endif
+#ifdef HAVE_DIRECT_H
+# include <direct.h>
+#endif
+#ifdef HAVE_SYS_TYPES_H
 # include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
 # include <sys/stat.h>
-#else
-# include <direct.h>
+#endif
+#ifdef HAVE_IO_H
 # include <io.h>
 #endif
+#ifdef HAVE_SYS_UTIME_H
+# include <sys/utime.h>
+#endif
+#ifdef HAVE_UTIME_H
+# include <utime.h>
+#endif
 
 #include "zip.h"
 #include "unzip.h"

Reply via email to