summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sparc64/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sparc64/sys/time.h')
-rw-r--r--newlib/libc/sys/sparc64/sys/time.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/newlib/libc/sys/sparc64/sys/time.h b/newlib/libc/sys/sparc64/sys/time.h
new file mode 100644
index 00000000000..36f8e1c1177
--- /dev/null
+++ b/newlib/libc/sys/sparc64/sys/time.h
@@ -0,0 +1,22 @@
+#ifndef _SYS_TIME_H
+#define _SYS_TIME_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct timeval {
+ long tv_sec;
+ long tv_usec;
+};
+
+typedef struct timestruc {
+ time_t tv_sec;
+ long tv_nsec;
+} timestruc_t;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _SYS_TIME_H */