about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/time.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index fb93d647d8..34d9de126b 100644
--- a/include/time.h
+++ b/include/time.h
@@ -58,6 +58,13 @@ extern time_t __mktime_internal (struct tm *__tp,
 				 long int *__offset) attribute_hidden;
 
 #if __TIMESIZE == 64
+# define __ctime64 ctime
+#else
+extern char *__ctime64 (const __time64_t *__timer) __THROW;
+libc_hidden_proto (__ctime64);
+#endif
+
+#if __TIMESIZE == 64
 # define __localtime64 localtime
 #else
 extern struct tm *__localtime64 (const __time64_t *__timer);