Include <sys/types.h> before <dirent.h>.

This is required for Apple Darwin 6.3 (MacOS 10.2.3).
This commit is contained in:
Jim Meyering
2003-02-21 07:06:33 +00:00
parent eb63743d48
commit 7f2df50cee
+2
View File
@@ -36,6 +36,8 @@ char *alloca ();
# endif
#endif
#include <sys/types.h>
#if defined _LIBC
# include <dirent.h>
# define NAMLEN(dirent) _D_EXACT_NAMLEN (dirent)