On Sun, Feb 26, 2012 at 03:41:28PM +0100, Víctor Manuel Jáquez Leal wrote:
The error is this:
In file included from imap.c:28:0: ../mx.h:73:56: error: unknown type name ‘header_cache_t’ make[2]: *** [imap.o] Error 1
The offender commit was:
commit cc497cf32588bb080fe39dfb7a37965e92f3c01b Author: Karel Zak kzak@redhat.com Date: Wed Dec 14 14:07:58 2011 +0100
notmuch: consolidate msg sync code - add mh_sync_mailbox_message() to sync just one message - add msg->commited_path to save info about the final message path (will be used keep notmuch DB up to date) Signed-off-by: Karel Zak <kzak@redhat.com>
The fix consist in including hcache.h when hchace is enabled.
Signed-off-by: Víctor Manuel Jáquez Leal vjaquez@igalia.com
mx.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Karel
diff --git a/mx.h b/mx.h index c59de77..0dd7e6c 100644 --- a/mx.h +++ b/mx.h @@ -70,6 +70,7 @@ void maildir_parse_flags (HEADER * h, const char *path); void maildir_update_flags (CONTEXT *ctx, HEADER *o, HEADER *n);
#if USE_HCACHE +#include <hcache.h> int mh_sync_mailbox_message (CONTEXT * ctx, int msgno, header_cache_t *hc); #else int mh_sync_mailbox_message (CONTEXT * ctx, int msgno); -- 1.7.9
mutt-kz@lists.fedoraproject.org