[tip: timers/vdso] vdso/gettimeofday: Add explicit includes

tip-bot2 for Thomas Weißschuh posted 1 patch 3 months, 1 week ago
lib/vdso/gettimeofday.c | 6 ++++++
1 file changed, 6 insertions(+)
[tip: timers/vdso] vdso/gettimeofday: Add explicit includes
Posted by tip-bot2 for Thomas Weißschuh 3 months, 1 week ago
The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     ce9850bdfcbd1022df3e99934a11d67966885694
Gitweb:        https://git.kernel.org/tip/ce9850bdfcbd1022df3e99934a11d67966885694
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Tue, 14 Oct 2025 08:48:58 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Sat, 01 Nov 2025 20:44:04 +01:00

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@linutronix.de>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Link: https://patch.msgid.link/20251014-vdso-sparc64-generic-2-v4-12-e0607bf49dea@linutronix.de
---
 lib/vdso/gettimeofday.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c
index 95df015..7b3fbae 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>