]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include/linux/compat.h: Add <time.h>
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:30:26 +0000 (19:30 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:41 +0000 (08:00 -0600)
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

index f8e3570d1ad2e5edd89d498d188d12718f0d1754..6238145161759072ad47cb7249a16a286eb794c8 100644 (file)
@@ -5,6 +5,7 @@
 #include <cyclic.h>
 #include <log.h>
 #include <malloc.h>
+#include <time.h>
 
 #include <asm/processor.h>