[PATCH v2 1/2] Y2038: Add 64-bit time for all architectures

Albert ARIBAUD albert.aribaud@3adev.fr
Thu Jun 14 18:51:00 GMT 2018


Hi Joseph,

On Thu, 14 Jun 2018 13:57:16 +0000, Joseph Myers
<joseph@codesourcery.com> wrote :

> On Thu, 14 Jun 2018, Albert ARIBAUD (3ADEV) wrote:
> 
> > diff --git a/include/sys/types.h b/include/sys/types.h
> > index 716732f4d4..107b0672ac 100644
> > --- a/include/sys/types.h
> > +++ b/include/sys/types.h
> > @@ -1 +1,2 @@
> >  #include <posix/sys/types.h>
> > +#include <bits/timesizes.h>  
> 
> include/ wrappers should include the installed header and do nothing more 
> in the _ISOMAC case.  For this header you shouldn't need any !_ISOMAC case 
> to include more, because sys/types.h includes bits/types.h and you've 
> already put a bits/timesizes.h include in there.
> 
> So no change to include/sys/types.h should be needed at all.

Fixed, thanks.

Cordialement,
Albert ARIBAUD
3ADEV



More information about the Libc-alpha mailing list