Jim Meyering <[EMAIL PROTECTED]> writes: > + case DT_LNK: > + type = S_IFLNK; > + break; ... > + case DT_SOCK: > + type = S_IFSOCK; > + break;
This patch causes mingw failures: fts.c: In function 'set_stat_type': fts.c:1035: error: 'S_IFLNK' undeclared (first use in this function) fts.c:1035: error: (Each undeclared identifier is reported only once fts.c:1035: error: for each function it appears in.) fts.c:1041: error: 'S_IFSOCK' undeclared (first use in this function) Given that S_IFLNK and S_IFSOCK are POSIX constants, possibly sys/stat.h should define them. But is it possible to do this in any useful way? Which values should be used? /Simon
