From 11fa824dde96c6675a5f4b2baa348ba2d62cdbbb Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Thu, 5 Nov 2020 15:58:57 +0100 Subject: [PATCH] include/grub/arm/system.h: Include missing header MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The header uses the EXPORT_FUNC() macro defined in but doesn't include it, which leads to the following compile error on arm: ../include/grub/cpu/system.h:12:13: error: ‘EXPORT_FUNC’ declared as function returning a function 12 | extern void EXPORT_FUNC(grub_arm_disable_caches_mmu) (void); | ^~~~~~~~~~~ ../include/grub/cpu/system.h:12:1: warning: parameter names (without types) in function declaration 12 | extern void EXPORT_FUNC(grub_arm_disable_caches_mmu) (void); | ^~~~~~ make[3]: *** [Makefile:36581: kern/efi/kernel_exec-sb.o] Error 1 Signed-off-by: Javier Martinez Canillas Reviewed-by: Daniel Kiper --- include/grub/arm/system.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/grub/arm/system.h b/include/grub/arm/system.h index f62c18c13..f15ce9751 100644 --- a/include/grub/arm/system.h +++ b/include/grub/arm/system.h @@ -1,6 +1,7 @@ #ifndef GRUB_SYSTEM_CPU_HEADER #define GRUB_SYSTEM_CPU_HEADER +#include #include enum -- 2.47.3