about summary refs log tree commit diff
path: root/time/bits/types/time_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'time/bits/types/time_t.h')
-rw-r--r--time/bits/types/time_t.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/time/bits/types/time_t.h b/time/bits/types/time_t.h
new file mode 100644
index 0000000000..16e5269184
--- /dev/null
+++ b/time/bits/types/time_t.h
@@ -0,0 +1,14 @@
+#ifndef __time_t_defined
+#define __time_t_defined 1
+
+#include <bits/types.h>
+
+__BEGIN_NAMESPACE_STD
+/* Returned by `time'.  */
+typedef __time_t time_t;
+__END_NAMESPACE_STD
+#ifdef __USE_POSIX
+__USING_NAMESPACE_STD(time_t)
+#endif
+
+#endif