summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/public/__struct_timespec.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-bottom-half/headers/public/__struct_timespec.h')
-rw-r--r--libc-bottom-half/headers/public/__struct_timespec.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libc-bottom-half/headers/public/__struct_timespec.h b/libc-bottom-half/headers/public/__struct_timespec.h
new file mode 100644
index 0000000..10d83f9
--- /dev/null
+++ b/libc-bottom-half/headers/public/__struct_timespec.h
@@ -0,0 +1,12 @@
+#ifndef __wasilibc___struct_timespec_h
+#define __wasilibc___struct_timespec_h
+
+#include <__typedef_time_t.h>
+
+/* As specified in POSIX. */
+struct timespec {
+ time_t tv_sec;
+ long tv_nsec;
+};
+
+#endif