OLD | NEW |
1 | 1 |
2 #include <dirent.h> | 2 #include <dirent.h> |
3 #include <stddef.h> | 3 #include <stddef.h> |
4 #include <string.h> | 4 #include <string.h> |
5 | 5 |
6 #include <nacl_dirent.h> | |
7 #include <irt_syscalls.h> | 6 #include <irt_syscalls.h> |
8 | 7 |
9 #define __READDIR __readdir | 8 #define __READDIR __readdir |
10 #define __GETDENTS nacl_getdents_wrapper | 9 #define __GETDENTS nacl_getdents_wrapper |
11 #define DIRENT_TYPE struct dirent | 10 #define DIRENT_TYPE struct dirent |
12 #define __READDIR_ALIAS | 11 #define __READDIR_ALIAS |
13 | 12 |
14 #include <nacl_getdents_wrapper.c> | 13 #include <nacl_getdents_wrapper.c> |
15 #include <sysdeps/unix/readdir.c> | 14 #include <sysdeps/unix/readdir.c> |
16 strong_alias (nacl_getdents_wrapper, __getdents) | 15 strong_alias (nacl_getdents_wrapper, __getdents) |
OLD | NEW |