summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-02-21 07:06:33 +0000
committerJim Meyering <jim@meyering.net>2003-02-21 07:06:33 +0000
commit7f2df50cee7565ff4eba8f87aeb1156614f42c19 (patch)
treee910271e02fc743ecd321ad229aaee0015ecf69a /lib
parenteb63743d48aa6af11320caa7cf4569f49cd4a35b (diff)
downloadcoreutils-7f2df50cee7565ff4eba8f87aeb1156614f42c19.tar.xz
Include <sys/types.h> before <dirent.h>.
This is required for Apple Darwin 6.3 (MacOS 10.2.3).
Diffstat (limited to 'lib')
-rw-r--r--lib/ftw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ftw.c b/lib/ftw.c
index be24733e8..48ac434ca 100644
--- a/lib/ftw.c
+++ b/lib/ftw.c
@@ -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)