From: Julien Danjou Date: Mon, 13 Nov 2006 10:48:39 +0000 (+0100) Subject: Fix a compilation error with gdbm X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=9eb3b25249e78d778b6d0583b06a7c5615709e63;p=apps%2Fmadmutt.git Fix a compilation error with gdbm Use struct header_cache instead of typedef Signed-off-by: Julien Danjou Signed-off-by: Pierre Habouzit --- diff --git a/hcache.c b/hcache.c index 9c78a82..496fd09 100644 --- a/hcache.c +++ b/hcache.c @@ -712,7 +712,7 @@ mutt_hcache_delete(void *db, const char *filename, void *mutt_hcache_open (const char *path, const char *folder) { - struct header_cache *h = p_new(HEADER_CACHE, 1); + struct header_cache *h = p_new(struct header_cache, 1); int pagesize = atoi (HeaderCachePageSize) ? atoi (HeaderCachePageSize) : 16384; h->db = NULL;