summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/dir.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/dir.h b/newlib/libc/include/sys/dir.h
new file mode 100644
index 000000000..220150dc9
--- /dev/null
+++ b/newlib/libc/include/sys/dir.h
@@ -0,0 +1,10 @@
+/* BSD predecessor of POSIX.1 <dirent.h> and struct dirent */
+
+#ifndef _SYS_DIR_H_
+#define _SYS_DIR_H_
+
+#include <dirent.h>
+
+#define direct dirent
+
+#endif /*_SYS_DIR_H_*/