about summary refs log tree commit diff
path: root/sysdeps/posix/opendir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/opendir.c')
-rw-r--r--sysdeps/posix/opendir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/opendir.c b/sysdeps/posix/opendir.c
index 0efeb5d30d..ddfc3a7510 100644
--- a/sysdeps/posix/opendir.c
+++ b/sysdeps/posix/opendir.c
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 #include <dirent.h>
 #include <fcntl.h>
+#include <sys/param.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>