U64_MAX is defined by <linux/limits.h>, which so far was included only indirectly. To avoid breaking the build when this indirect include disappears, include it directly in the file where it is used. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- common/optee.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/optee.c b/common/optee.c index 7fe93e441974..31442b1a498d 100644 --- a/common/optee.c +++ b/common/optee.c @@ -5,6 +5,7 @@ #include <tee/optee.h> #include <linux/printk.h> #include <linux/errno.h> +#include <linux/limits.h> static u64 optee_membase = U64_MAX; -- 2.39.2