This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]