summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h
index e6d416450..37d528ecc 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -368,4 +368,11 @@ extern int versionsort64 (__const struct dirent64 **__e1,
__END_DECLS
+#ifdef _LIBC
+extern ssize_t __getdents(int fd, char *buf, size_t count) attribute_hidden;
+# ifdef __UCLIBC_HAS_LFS__
+extern ssize_t __getdents64 (int fd, char *buf, size_t count) attribute_hidden;
+# endif
+#endif
+
#endif /* dirent.h */