]> sourceware.org Git - glibc.git/commitdiff
Include <kernel-features.h> explicitly in Linux clock_settime.c
authorLukasz Majewski <lukma@denx.de>
Fri, 18 Oct 2019 09:33:59 +0000 (11:33 +0200)
committerLukasz Majewski <lukma@denx.de>
Sun, 20 Oct 2019 14:52:43 +0000 (16:52 +0200)
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.

sysdeps/unix/sysv/linux/clock_settime.c

index fb48de5d501fe6c22740babcbd57ff0bd568b183..54999d3008320b13494a83ad939da22008724c00 100644 (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
This page took 0.037732 seconds and 5 git commands to generate.