summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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)