diff options
author | Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr> | 2017-09-08 00:41:42 +0200 |
---|---|---|
committer | Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr> | 2018-06-13 09:06:53 +0200 |
commit | b44484502f07f79ce7ea7461a22fcc25006f1a8b (patch) | |
tree | a6eb66287c0792edb88303f85044f8290b7d46ac /sysdeps/unix | |
parent | ca2cb8c490e8cf3dd6b936cdde751b5bcbeb0ca6 (diff) | |
download | glibc-b44484502f07f79ce7ea7461a22fcc25006f1a8b.tar.gz |
Y2038: add struct __timeval64
Also, provide static inline functions and macros for checking
and converting between 32-bit and 64-bit timevals.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/resource.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/resource.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/timex.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/resource.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/bits/resource.h | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/resource.h b/sysdeps/unix/sysv/linux/alpha/bits/resource.h index dddcb0f049..b602f5684d 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/resource.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/resource.h @@ -176,6 +176,7 @@ enum __rusage_who }; #include <bits/types/struct_timeval.h> +#include <bits/types/struct_timeval64.h> #include <bits/types/struct_rusage.h> /* Priority limits. */ diff --git a/sysdeps/unix/sysv/linux/bits/resource.h b/sysdeps/unix/sysv/linux/bits/resource.h index fafbadf94f..1f42d0d7d7 100644 --- a/sysdeps/unix/sysv/linux/bits/resource.h +++ b/sysdeps/unix/sysv/linux/bits/resource.h @@ -176,6 +176,7 @@ enum __rusage_who }; #include <bits/types/struct_timeval.h> +#include <bits/types/struct_timeval64.h> #include <bits/types/struct_rusage.h> /* Priority limits. */ diff --git a/sysdeps/unix/sysv/linux/bits/timex.h b/sysdeps/unix/sysv/linux/bits/timex.h index 1dbcc0b57d..d3c16ecf97 100644 --- a/sysdeps/unix/sysv/linux/bits/timex.h +++ b/sysdeps/unix/sysv/linux/bits/timex.h @@ -20,6 +20,7 @@ #include <bits/types.h> #include <bits/types/struct_timeval.h> +#include <bits/types/struct_timeval64.h> /* These definitions from linux/timex.h as of 3.18. */ diff --git a/sysdeps/unix/sysv/linux/mips/bits/resource.h b/sysdeps/unix/sysv/linux/mips/bits/resource.h index 89d878820b..ba46c0b983 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/resource.h +++ b/sysdeps/unix/sysv/linux/mips/bits/resource.h @@ -184,6 +184,7 @@ enum __rusage_who }; #include <bits/types/struct_timeval.h> +#include <bits/types/struct_timeval64.h> #include <bits/types/struct_rusage.h> /* Priority limits. */ diff --git a/sysdeps/unix/sysv/linux/sparc/bits/resource.h b/sysdeps/unix/sysv/linux/sparc/bits/resource.h index ee5c26e8c4..1c88169a18 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/resource.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/resource.h @@ -192,6 +192,7 @@ enum __rusage_who }; #include <bits/types/struct_timeval.h> +#include <bits/types/struct_timeval64.h> #include <bits/types/struct_rusage.h> /* Priority limits. */ |