This header uses types defined in <grub/types.h> but does not include it, which leads to lead compile errors like the following:
../include/grub/cpu/linux.h:27:3: error: unknown type name ‘grub_uint32_t’ 27 | grub_uint32_t code0; /* Executable code */ | ^~~~~~~~~~~~~ Signed-off-by: Javier Martinez Canillas <javi...@redhat.com> --- include/grub/arm64/linux.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/grub/arm64/linux.h b/include/grub/arm64/linux.h index 4269adc6dae..7e22b4ab699 100644 --- a/include/grub/arm64/linux.h +++ b/include/grub/arm64/linux.h @@ -19,6 +19,8 @@ #ifndef GRUB_ARM64_LINUX_HEADER #define GRUB_ARM64_LINUX_HEADER 1 +#include <grub/types.h> + #define GRUB_LINUX_ARM64_MAGIC_SIGNATURE 0x644d5241 /* 'ARM\x64' */ /* From linux/Documentation/arm64/booting.txt */ -- 2.28.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel