X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mh.c;h=47231ed2e1e9c5d966b0e72f0658617a738d0d05;hb=2e401db31508cc9f7025eb1465e56d8c2e5a2544;hp=4b03ef843d7ab097e6fa46c0339a011c0f73f605;hpb=841a368ddea400022328f35dd8c7a3eb6f543892;p=apps%2Fmadmutt.git diff --git a/mh.c b/mh.c index 4b03ef8..47231ed 100644 --- a/mh.c +++ b/mh.c @@ -24,6 +24,7 @@ #include "copy.h" #include "buffy.h" #include "sort.h" +#include "thread.h" #include "hcache.h" #include "lib/mem.h" @@ -702,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);