<<< Date Index >>>     <<< Thread Index >>>

Re: [1.5.9 and Cygwin] --enable-hcache still doesn't compile



On Monday, 14 March 2005 at 16:59, Rudy Taraschi wrote:
> Hi folks,
> 
> FYI: I just tried to build mutt 1.5.9 with the --enable-hcache
> switch and get a failure (see below).  This is on a Cygwin
> environment with the gcc 3.3.3 compiler.  I got the exact same
> error with 1.5.8.

Try the attached patch.
Index: hcache.c
===================================================================
RCS file: /home/roessler/cvs/mutt/hcache.c,v
retrieving revision 3.4
diff -u -p -r3.4 hcache.c
--- hcache.c    3 Feb 2005 19:46:53 -0000       3.4
+++ hcache.c    15 Mar 2005 07:48:52 -0000
@@ -30,6 +30,9 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 #include "mutt.h"
 #ifdef USE_IMAP
 #include "message.h"