[RFC,18/52] Y2038: add struct __itimerspec64

Message ID 20170907224219.12483-19-albert.aribaud@3adev.fr
State New
Headers show
Series
  • Make GLIBC Y2038-proof
Related show

Commit Message

Albert ARIBAUD Sept. 7, 2017, 10:41 p.m.
Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
---
 include/time.h | 6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/include/time.h b/include/time.h
index 648cef2786..1d585184d8 100644
--- a/include/time.h
+++ b/include/time.h
@@ -47,6 +47,12 @@  struct __timeval64
   __int64_t tv_usec;		/* Microseconds */
 };
 
+struct __itimerspec64
+{
+  struct __timespec64 it_interval;
+  struct __timespec64 it_value;
+};
+
 extern __typeof (clock_getres) __clock_getres;
 extern __typeof (clock_gettime) __clock_gettime;
 libc_hidden_proto (__clock_gettime)