summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-02-27 09:44:36 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2026-03-11 17:13:00 +0300
commit9fc2232e285bbd3d71c251376255d7fb2ae34f73 (patch)
tree7b476131c3e9669a277cc1145a1f6ce680ee8009
parent32bd966050486d3fed6980aa3de3e60b9e383589 (diff)
downloadlinux-9fc2232e285bbd3d71c251376255d7fb2ae34f73.tar.xz
vdso/gettimeofday: Add explicit includes
Various used symbols are only visible through transitive includes. These transitive includes are about to go away. Explicitly include the necessary headers. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-10-35d60acf7410@linutronix.de
-rw-r--r--lib/vdso/gettimeofday.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c
index efd1b82af614..ad79642056d5 100644
--- a/lib/vdso/gettimeofday.c
+++ b/lib/vdso/gettimeofday.c
@@ -3,8 +3,14 @@
* Generic userspace implementations of gettimeofday() and similar.
*/
#include <vdso/auxclock.h>
+#include <vdso/clocksource.h>
#include <vdso/datapage.h>
#include <vdso/helpers.h>
+#include <vdso/ktime.h>
+#include <vdso/limits.h>
+#include <vdso/math64.h>
+#include <vdso/time32.h>
+#include <vdso/time64.h>
/* Bring in default accessors */
#include <vdso/vsyscall.h>