about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/time.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index c19c73ae09..1eb3d82740 100644
--- a/include/time.h
+++ b/include/time.h
@@ -83,6 +83,17 @@ struct __timespec64
 #endif
 
 #if __TIMESIZE == 64
+# define __itimerspec64 itimerspec
+#else
+/* The glibc's internal representation of the struct itimerspec.  */
+struct __itimerspec64
+{
+  struct __timespec64 it_interval;
+  struct __timespec64 it_value;
+};
+#endif
+
+#if __TIMESIZE == 64
 # define __ctime64 ctime
 #else
 extern char *__ctime64 (const __time64_t *__timer) __THROW;