[PATCH 09/81] include/linux/compat.h: Add <time.h>

Tom Rini trini at konsulko.com
Thu May 2 03:30:26 CEST 2024


As this file has macros which use get_timer() it must include <time.h>
to resolve this.

Signed-off-by: Tom Rini <trini at 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 f8e3570d1ad2..623814516175 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.34.1



More information about the U-Boot mailing list