Commit 437054b1 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Thomas Gleixner
Browse files

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: 42874e4e ("arch: vdso: consolidate gettime prototypes")
Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250815-vdso-sparc64-generic-2-v2-1-b5ff80672347@linutronix.de
parent 258b37c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)