From 4973abcba9453d54e8996a55c56ec004b669aa65 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Wed, 2 Oct 2019 10:19:55 +0200 Subject: [PATCH] Y2038: Include proper header to provide support for struct timeval on HURD The HURD requires explicit inclusion of 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 --- ChangeLog | 3 +++ include/time.h | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4d81d56..db769e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2019-10-02 Łukasz Majewski + * include/time.h: Add #include + 2019-10-02 Arjun Shankar debugglibc.sh: Implement program arguments diff --git a/include/time.h b/include/time.h index 9878c2b..f6dc731 100644 --- a/include/time.h +++ b/include/time.h @@ -2,6 +2,7 @@ #include