summaryrefslogtreecommitdiff
path: root/sysdeps/stub/getdents.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/getdents.c')
-rw-r--r--sysdeps/stub/getdents.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/stub/getdents.c b/sysdeps/stub/getdents.c
index a773347f50..652eda2bc7 100644
--- a/sysdeps/stub/getdents.c
+++ b/sysdeps/stub/getdents.c
@@ -19,6 +19,7 @@
#include <stddef.h>
#include <errno.h>
#include <sys/types.h>
+#include <dirent.h>
ssize_t
__getdirentries (fd, buf, nbytes, basep)