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] Y2038: Include proper header to provide support for struct timeval on HURD


On Wed, 2 Oct 2019, Lukasz Majewski wrote:

> The HURD requires explicit inclusion of <bits/types/struct_timeval.h> to use
> struct timeval in ./include/time.h.
> For this particular glibc port, the proper header hasn't been included before
> inclusion of time.h.
> 
> Tested with build-many-glibcs.py with i686-gnu and x86_64-linux-gnu:
> 
> build-many-glibcs.py /home/lukma/work/glibc/glibc-many-build --keep all compilers i686-gnu
> build-many-glibcs.py /home/lukma/work/glibc/glibc-many-build --keep all glibcs i686-gnu
> 
> Also run of xcheck on x86_64:
> ./src/configure --prefix=/usr
> make PARALLELMFLAGS="-j12" && make xcheck PARALLELMFLAGS="-j12"
> 
> 	* include/time.h: Add #include <bits/types/struct_timeval.h>

OK, please commit.

-- 
Joseph S. Myers
joseph@codesourcery.com


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