summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-16 20:50:39 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:25 +0200
commit329befa2612ab31a5992684acee2a6e5e3861673 (patch)
treed766ba82409bd0b5ac23e63beb7ae4aa3b5e83da /libc/sysdeps/linux
parenteb8a5ab3530f677c223d5cda5598c6d50a242b1b (diff)
dirent.h: use __ssize_t instead of ssize_t
getdents[64].c: forgot to include dirent.h Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux')
-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>