aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/dirent.h')
-rw-r--r--system/include/libc/dirent.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/include/libc/dirent.h b/system/include/libc/dirent.h
new file mode 100644
index 00000000..6fefc03c
--- /dev/null
+++ b/system/include/libc/dirent.h
@@ -0,0 +1,15 @@
+#ifndef _DIRENT_H_
+#define _DIRENT_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+#include <sys/dirent.h>
+
+#if !defined(MAXNAMLEN) && !defined(_POSIX_SOURCE)
+#define MAXNAMLEN 1024
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+#endif /*_DIRENT_H_*/