summaryrefslogtreecommitdiff
path: root/Unix/i686-elf/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Unix/i686-elf/include/dirent.h')
-rw-r--r--Unix/i686-elf/include/dirent.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Unix/i686-elf/include/dirent.h b/Unix/i686-elf/include/dirent.h
new file mode 100644
index 0000000..6fefc03
--- /dev/null
+++ b/Unix/i686-elf/include/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_*/