1 #ifndef _DIRENT_H_ 2 #define _DIRENT_H_ 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 #include <sys/dirent.h> 7 8 #if !defined(MAXNAMLEN) && !defined(_POSIX_SOURCE) 9 #define MAXNAMLEN 1024 10 #endif 11 12 #ifdef __cplusplus 13 } 14 #endif 15 #endif /*_DIRENT_H_*/ 16