summaryrefslogtreecommitdiff
path: root/libc/misc/dirent
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r--libc/misc/dirent/dirstream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/dirent/dirstream.h b/libc/misc/dirent/dirstream.h
index 5cb63a23d..2dd0264fc 100644
--- a/libc/misc/dirent/dirstream.h
+++ b/libc/misc/dirent/dirstream.h
@@ -72,6 +72,8 @@ struct __dirstream {
extern int __getdents(unsigned int fd, struct dirent *dirp, unsigned int count);
+#ifdef __UCLIBC_HAS_LFS__
extern int __getdents64 (unsigned int fd, struct dirent64 *dirp, unsigned int count);
+#endif
#endif /* dirent.h */