From: Lukasz Majewski Date: Fri, 18 Oct 2019 09:33:59 +0000 (+0200) Subject: Include explicitly in Linux clock_settime.c X-Git-Tag: glibc-2.31~337 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8ac1f71c8547a1dd6cd0c7133070e2219070d8e;p=thirdparty%2Fglibc.git Include explicitly in Linux clock_settime.c The rewritten clock_settime code (which now supports 64 bit time on systems with __WORDSIZE == 32) for Linux now relies on the __ASSUME_TIME64_SYSCALLS flag set. Lets explicitly include the header file where it is defined to avoid any indirect inclusion (which may pose some unwanted API definitions). Tested with scripts/build-many-glibcs.py script. --- diff --git a/sysdeps/unix/sysv/linux/clock_settime.c b/sysdeps/unix/sysv/linux/clock_settime.c index fb48de5d501..54999d30083 100644 --- a/sysdeps/unix/sysv/linux/clock_settime.c +++ b/sysdeps/unix/sysv/linux/clock_settime.c @@ -19,6 +19,7 @@ #include #include #include +#include /* Set CLOCK to value TP. */ int