diff options
Diffstat (limited to 'minc.c')
-rw-r--r-- | minc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/minc.c b/minc.c index 4e55292..f495da1 100644 --- a/minc.c +++ b/minc.c @@ -11,6 +11,7 @@ #include <unistd.h> #include "blaze822.h" +#include "blaze822_priv.h" static int qflag; static int status; @@ -35,10 +36,9 @@ inc(char *dir) } while ((d = readdir(fd))) { -#if defined(DT_REG) && defined(DT_UNKNOWN) - if (d->d_type != DT_REG && d->d_type != DT_UNKNOWN) + if (!MAIL_DT(d->d_type)) continue; -#endif + if (d->d_name[0] == '.') continue; |