From 70ab38f4268c5ce5302849fcebf9bdfa2e152e76 Mon Sep 17 00:00:00 2001 From: Tom Rini <trini@konsulko.com> Date: Wed, 1 May 2024 19:30:26 -0600 Subject: [PATCH] include/linux/compat.h: Add <time.h> As this file has macros which use get_timer() it must include <time.h> to resolve this. Signed-off-by: Tom Rini <trini@konsulko.com> --- include/linux/compat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/compat.h b/include/linux/compat.h index f8e3570d1a..6238145161 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -5,6 +5,7 @@ #include <cyclic.h> #include <log.h> #include <malloc.h> +#include <time.h> #include <asm/processor.h> -- 2.39.5