summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-17 06:07:07 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-17 06:07:07 +0000
commitfaf1b16caa590d84c710f2791f8a93a9cc430774 (patch)
treeddd1db260ed85a7239c59675af3f9cbe164372d5 /libc/sysdeps
parent6c900cc3a20d4129ef7c78de024f2d7f0f822bde (diff)
Oops. Forgot this one....
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 047ec801c..7d3e28a2b 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -1325,6 +1325,13 @@ int fstat64(int filedes, struct libc_stat64 *buf)
//#define __NR_getdents64 220
+#ifdef L_getdents64
+#include <unistd.h>
+#include <dirent.h>
+_syscall3(int, getdents64, int, fd, char *, dirp, size_t, count);
+#endif
+
+
//#define __NR_fcntl64 221