As this file has macros which use get_timer() it must include <time.h> to resolve this.
Signed-off-by: Tom Rini <tr...@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