From cd78188af59eaa999cd104e7b504ae38b350e4aa Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 19 Sep 2019 14:04:00 +0100 Subject: [PATCH] x86: add missing headers in hypercall.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Include asm_defns.h because ASM_CALL_CONSTRAINT is defined there. Include xen/lib.h because we need ASSERT_UNREACHABLE. No functional change. Signed-off-by: Wei Liu Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- xen/include/asm-x86/guest/hypercall.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/include/asm-x86/guest/hypercall.h b/xen/include/asm-x86/guest/hypercall.h index d548816b30..d0d2f5022d 100644 --- a/xen/include/asm-x86/guest/hypercall.h +++ b/xen/include/asm-x86/guest/hypercall.h @@ -23,6 +23,8 @@ #include +#include + #include #include #include @@ -180,6 +182,8 @@ static inline long xen_hypercall_set_evtchn_upcall_vector( #else /* CONFIG_XEN_GUEST */ +#include + #include static inline void xen_hypercall_console_write( -- 2.30.2