| 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> | 6 #include <nacl_dirent.h> |
| 7 #include <irt_syscalls.h> | 7 #include <irt_syscalls.h> |
| 8 | 8 |
| 9 #define __READDIR __readdir | 9 #define __READDIR __readdir |
| 10 #define __GETDENTS nacl_getdents_wrapper | 10 #define __GETDENTS nacl_getdents_wrapper |
| 11 #define DIRENT_TYPE struct dirent | 11 #define DIRENT_TYPE struct dirent |
| 12 #define __READDIR_ALIAS | 12 #define __READDIR_ALIAS |
| 13 | 13 |
| 14 #include <sysdeps/nacl/nacl_getdents_wrapper.c> | 14 #include <nacl_getdents_wrapper.c> |
| 15 #include <sysdeps/unix/readdir.c> | 15 #include <sysdeps/unix/readdir.c> |
| 16 strong_alias (nacl_getdents_wrapper, __getdents) | 16 strong_alias (nacl_getdents_wrapper, __getdents) |
| OLD | NEW |