aboutsummaryrefslogtreecommitdiff
path: root/dirent
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-07-29 21:02:46 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-07-29 21:02:46 +0200
commitb8b3d5a14e9d6248f8d78958c497eea0a684c939 (patch)
tree1449ad0591d2c322ec32282700778486f78b681c /dirent
parent354e4c1adddb1da19c1043e3e5db61ee2148d912 (diff)
downloadglibc-b8b3d5a14e9d6248f8d78958c497eea0a684c939.zip
glibc-b8b3d5a14e9d6248f8d78958c497eea0a684c939.tar.gz
glibc-b8b3d5a14e9d6248f8d78958c497eea0a684c939.tar.bz2
Linux: Move getdents64 to <dirent.h>
This matches the location of the declaration in musl. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'dirent')
-rw-r--r--dirent/Makefile2
-rw-r--r--dirent/dirent.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/dirent/Makefile b/dirent/Makefile
index b002214..144e448 100644
--- a/dirent/Makefile
+++ b/dirent/Makefile
@@ -22,7 +22,7 @@ subdir := dirent
include ../Makeconfig
-headers := dirent.h bits/dirent.h
+headers := dirent.h bits/dirent.h bits/dirent_ext.h
routines := opendir closedir readdir readdir_r rewinddir \
seekdir telldir scandir alphasort versionsort \
getdents getdents64 dirfd readdir64 readdir64_r scandir64 \
diff --git a/dirent/dirent.h b/dirent/dirent.h
index fc4d485..d4650db 100644
--- a/dirent/dirent.h
+++ b/dirent/dirent.h
@@ -401,4 +401,6 @@ extern int versionsort64 (const struct dirent64 **__e1,
__END_DECLS
+#include <bits/dirent_ext.h>
+
#endif /* dirent.h */