X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-new.c;h=8529fdd3eac7e4214c47ef24317bed961b2912b5;hb=320d4a856eca6f7d4363b3465e7032e658913ece;hp=cd744891c2439982ac3851435aa66ea1ed7e07fa;hpb=e932fca54fc88bba75eda01c3e7f6ddf92a56759;p=notmuch diff --git a/notmuch-new.c b/notmuch-new.c index cd744891..8529fdd3 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -173,7 +173,7 @@ dirent_type (const char *path, const struct dirent *entry) char *abspath; int err, saved_errno; -#ifdef _DIRENT_HAVE_D_TYPE +#if HAVE_D_TYPE /* Mapping from d_type to stat mode_t. We omit DT_LNK so that * we'll fall through to stat and get the real file type. */ static const mode_t modes[] = {