1 2 3 4 5 6 7
#define __READDIR __readdir64 #define __GETDENTS __getdents64 #define DIRENT_TYPE struct dirent64 #include <sysdeps/unix/readdir.c> weak_alias (__readdir64, readdir64)