diff options
Diffstat (limited to 'seq.c')
-rw-r--r-- | seq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/seq.c b/seq.c index 1441a0c..7c9fc12 100644 --- a/seq.c +++ b/seq.c @@ -328,8 +328,10 @@ iterdir(char *dir, void (*cb)(char *)) } while ((d = readdir(fd))) { +#if defined(DT_REG) && defined(DT_UNKNOWN) if (d->d_type != DT_REG && d->d_type != DT_UNKNOWN) continue; +#endif if (d->d_name[0] == '.') continue; if (fd2) |