1 2 3 4 5 6 7 8 9 10
#ifndef DIRENT_H_ #define DIRENT_H_ typedef struct {} DIR; struct dirent { char *d_name; }; #endif // DIRENT_H_