summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/getdents.c1
-rw-r--r--libc/sysdeps/linux/common/getdents64.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index a122d209e..f321aeae6 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/libc/sysdeps/linux/common/getdents.c
@@ -11,6 +11,7 @@
#include <stdint.h>
#include <string.h>
#include <unistd.h>
+#include <dirent.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/syscall.h>
diff --git a/libc/sysdeps/linux/common/getdents64.c b/libc/sysdeps/linux/common/getdents64.c
index 1e1e170b9..e1133fffa 100644
--- a/libc/sysdeps/linux/common/getdents64.c
+++ b/libc/sysdeps/linux/common/getdents64.c
@@ -12,6 +12,7 @@
#include <stdint.h>
#include <string.h>
#include <unistd.h>
+#include <dirent.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/syscall.h>