X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mh.c;h=47231ed2e1e9c5d966b0e72f0658617a738d0d05;hp=c062eb9ada13c54d64d2ff4b91ccc62fade249eb;hb=ea912b20ba2b3b9dfdbbae758ad56263c9aa41b3;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/mh.c b/mh.c index c062eb9..47231ed 100644 --- a/mh.c +++ b/mh.c @@ -24,6 +24,8 @@ #include "copy.h" #include "buffy.h" #include "sort.h" +#include "thread.h" +#include "hcache.h" #include "lib/mem.h" #include "lib/intl.h" @@ -701,7 +703,12 @@ static int maildir_parse_dir (CONTEXT * ctx, struct maildir ***last, debug_print (2, ("parsing %s\n", de->d_name)); maildir_parse_entry (ctx, last, subdir, de->d_name, count, is_old, - de->d_ino); +#if HAVE_DIRENT_D_INO + de->d_ino +#else + 0 +#endif + ); } closedir (dirp);