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

Joseph Myers joseph@codesourcery.com
Thu Jun 14 13:57:00 GMT 2018


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.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list