From: Albert ARIBAUD (3ADEV) Date: Thu, 7 Sep 2017 22:41:42 +0000 (+0200) Subject: Y2038: add struct __timeval64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ea072767dc028b00062944d79c9d1fcee44c676;p=thirdparty%2Fglibc.git Y2038: add struct __timeval64 Also, provide static inline functions and macros for checking and converting between 32-bit and 64-bit timevals. --- diff --git a/bits/resource.h b/bits/resource.h index 7693d20fed2..c0b00bec0e7 100644 --- a/bits/resource.h +++ b/bits/resource.h @@ -134,6 +134,7 @@ enum __rusage_who }; #include +#include #include /* Priority limits. */ diff --git a/include/bits/types/struct_timeval64.h b/include/bits/types/struct_timeval64.h new file mode 100644 index 00000000000..fe2ffe64302 --- /dev/null +++ b/include/bits/types/struct_timeval64.h @@ -0,0 +1 @@ +#include