There's build warnings about using struct x86_linux_param_header * in x86-linux-setup.h, it is declared in x86-linux.h Fix it by include x86-linux.h in x86-linux-setup.h Signed-off-by: Dave Young <dyoung at redhat.com> --- kexec/arch/i386/x86-linux-setup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kexec/arch/i386/x86-linux-setup.h b/kexec/arch/i386/x86-linux-setup.h index 09aed4d..2afe97c 100644 --- a/kexec/arch/i386/x86-linux-setup.h +++ b/kexec/arch/i386/x86-linux-setup.h @@ -1,5 +1,6 @@ #ifndef X86_LINUX_SETUP_H #define X86_LINUX_SETUP_H +#include <x86/x86-linux.h> void init_linux_parameters(struct x86_linux_param_header *real_mode); void setup_linux_bootloader_parameters_high( -- 1.8.3.1