vdso: Add struct __kernel_old_timeval forward declaration to gettime.h

The prototype of __vdso_gettimeofday() uses this struct.  However
gettime.h's own includes do not provide a definition for it.

Add a forward declaration, similar to other used structs.

Fixes: 42874e4eb3 ("arch: vdso: consolidate gettime prototypes")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250815-vdso-sparc64-generic-2-v2-1-b5ff80672347@linutronix.de
This commit is contained in:
Thomas Weißschuh 2025-08-15 12:41:10 +02:00 committed by Thomas Gleixner
parent 258b37c6e6
commit 437054b1bb
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <linux/types.h>
struct __kernel_timespec;
struct __kernel_old_timeval;
struct timezone;
#if !defined(CONFIG_64BIT) || defined(BUILD_VDSO32_64)