[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] arm64: Include missing <grub/types.h> header
From: |
Javier Martinez Canillas |
Subject: |
[PATCH] arm64: Include missing <grub/types.h> header |
Date: |
Mon, 9 Nov 2020 11:40:14 +0100 |
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 <javierm@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
- [PATCH] arm64: Include missing <grub/types.h> header,
Javier Martinez Canillas <=