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