Include <kernel-features.h> 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.
This commit is contained in:
Lukasz Majewski 2019-10-18 11:33:59 +02:00
parent ef21bd2d8c
commit e8ac1f71c8

View File

@ -19,6 +19,7 @@
#include <sysdep.h>
#include <time.h>
#include <shlib-compat.h>
#include <kernel-features.h>
/* Set CLOCK to value TP. */
int