This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: 1.5.1: lseek64 woes (was Re: 1.5.1: unzip problems with binaryfiles in archive)
David Rothenberger wrote:
--- unzip-5.50/unzpriv.h 2003-07-29 09:10:41.325502400 -0700
+++ unzip-5.50-fixed/unzpriv.h 2003-07-29 09:08:48.783675200 -0700
@@ -200,6 +200,10 @@
typedef unsigned int extent;
#endif /* ?MODERN */
+#ifdef __CYGWIN__
+# include <unistd.h>
+#endif
+
#ifndef MINIX /* Minix needs it after all the other includes
(?) */
# include <stdio.h>
I spent WAY too much time on this for such a simple problem. Darn!
Next time I'll know to look for prototypes if the strace output is
strange.
Thank you VERY much for tracking this down. I will try to get an
updated unzip rolled out ASAP.
--
Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/