From a308615f7c067371df8bd96cb233cd0574537863 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Tue, 21 Apr 2020 19:01:56 +0200 Subject: y2038: include: Move struct __timeval64 definition to a separate file The struct __timeval64's definition has been moved from ./include/time.h to ./include/struct___timeval64.h. This change would prevent from polluting other glibc namespaces (when headers are modified to support 64 bit time on architectures with __WORDSIZE==32). Now it is possible to just include definition of this particular structure when needed. Reviewed-by: Alistair Francis Reviewed-by: Adhemerval Zanella --- include/time.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'include/time.h') diff --git a/include/time.h b/include/time.h index 1c103a4cb2..fe4da9ca10 100644 --- a/include/time.h +++ b/include/time.h @@ -4,6 +4,7 @@ #ifndef _ISOMAC # include # include +# include # include # include # include