about summary refs log tree commit diff
path: root/dirent
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-07-25 12:48:41 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-07-25 12:48:41 +0200
commit3b43e4e4d444fb5c2360f689679db85826627754 (patch)
tree22b0ab02b599bf944f810b114bf37b03c9240f6c /dirent
parent7e681561a3aea7aa8f21fb031a7c778147dfdf5b (diff)
downloadglibc-fw/getdents64.tar.gz
glibc-fw/getdents64.tar.xz
glibc-fw/getdents64.zip
Linux: Move getdents64 to <dirent.h> fw/getdents64
This matches the location of the declaration in musl.
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 b002214c3d..144e448b3d 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 fc4d4859fe..d4650db17e 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  */