From: Tom Rini <trini@konsulko.com>
Date: Thu, 2 May 2024 01:30:26 +0000 (-0600)
Subject: include/linux/compat.h: Add <time.h>
X-Git-Tag: v2025.01-rc5-pxa1908~409^2~18^2~50
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=70ab38f4268c5ce5302849fcebf9bdfa2e152e76;p=u-boot.git

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>
---

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>