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

Re: problems compiling mutt-cvs on cygwin



Hello,

> mh.c:936: error: dereferencing pointer to incomplete type

I think Brendan has already fixed this problem for hcache.c. Could you
please try the attached patch?

        Thomas
diff -Nru a/mh.c b/mh.c
--- a/mh.c      2005-03-23 12:51:11 +01:00
+++ b/mh.c      2005-03-30 15:54:57 +02:00
@@ -47,6 +47,10 @@
 #include <string.h>
 #include <utime.h>
 
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
 struct maildir
 {
   HEADER *h;