arm64: Include missing <grub/types.h> header
PATCH 1/1 arm64: Include missing <grub/types.h> header
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 <[email protected]>
---
include/grub/arm64/linux.h | 2 ++ 1 file changed, 2 insertions(+)
include/grub/arm64/linux.h +2 -0
@@ -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 */
Signature · 1 line
2.28.0
Quoted 8 lines · Javier Martinez Canillas
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 <[email protected]>
Reviewed-by Daniel Kiper <[email protected]>
Daniel