Commit graph

1 commit

Author SHA1 Message Date
joerg
14a6cc3ec0 Always include sys/types.h, it is needed on !NetBSD as well.
Use dirent.h instead of sys/dir.h, the former is POSIX and the latter
gives a warning on DragonFly, which breaks -Werror.
Use NAME_MAX if available, fall back to MAXNAMLEN otherwise.
2005-12-13 21:30:11 +00:00