summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/public/__struct_dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-bottom-half/headers/public/__struct_dirent.h')
-rw-r--r--libc-bottom-half/headers/public/__struct_dirent.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc-bottom-half/headers/public/__struct_dirent.h b/libc-bottom-half/headers/public/__struct_dirent.h
new file mode 100644
index 0000000..9d2ece8
--- /dev/null
+++ b/libc-bottom-half/headers/public/__struct_dirent.h
@@ -0,0 +1,14 @@
+#ifndef __wasilibc___struct_dirent_h
+#define __wasilibc___struct_dirent_h
+
+#include <__typedef_ino_t.h>
+
+#define _DIRENT_HAVE_D_TYPE
+
+struct dirent {
+ ino_t d_ino;
+ unsigned char d_type;
+ char d_name[];
+};
+
+#endif