From 390b5a4727924503095327087c5d5f7a369732ef Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Wed, 12 Feb 2020 10:42:49 +0100 Subject: y2038: include: Move struct __timespec64 definition to a separate file The struct __timespec64's definition has been moved from ./include/time.h to ./include/struct___timespec64.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: Adhemerval Zanella --- include/time.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'include/time.h') diff --git a/include/time.h b/include/time.h index 4522fe9c4f..1c103a4cb2 100644 --- a/include/time.h +++ b/include/time.h @@ -3,11 +3,11 @@ #ifndef _ISOMAC # include +# include # include # include # include