From: Andrew Cooper Date: Fri, 2 Jun 2017 18:25:02 +0000 (+0000) Subject: Fix header files so they can be included in isolation X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=dfd91bdded5be2757166987e1d00f91c354e5fb4;p=people%2Fandrewcoop%2Fxen-test-framework.git Fix header files so they can be included in isolation Signed-off-by: Andrew Cooper --- diff --git a/arch/x86/include/arch/extable.h b/arch/x86/include/arch/extable.h index 3a6a8f8..8e1baf9 100644 --- a/arch/x86/include/arch/extable.h +++ b/arch/x86/include/arch/extable.h @@ -9,6 +9,8 @@ #include #include +struct extable_entry; + /** * Record the current fault in @%eax * diff --git a/arch/x86/include/arch/lib.h b/arch/x86/include/arch/lib.h index e336474..f608af9 100644 --- a/arch/x86/include/arch/lib.h +++ b/arch/x86/include/arch/lib.h @@ -2,6 +2,7 @@ #define XTF_X86_LIB_H #include +#include #include #include diff --git a/arch/x86/include/arch/mm.h b/arch/x86/include/arch/mm.h index f554643..1f4ceb2 100644 --- a/arch/x86/include/arch/mm.h +++ b/arch/x86/include/arch/mm.h @@ -1,6 +1,7 @@ #ifndef XTF_X86_MM_H #define XTF_X86_MM_H +#include #include #include diff --git a/arch/x86/include/arch/page-pae.h b/arch/x86/include/arch/page-pae.h index 4d87bae..a7053a9 100644 --- a/arch/x86/include/arch/page-pae.h +++ b/arch/x86/include/arch/page-pae.h @@ -6,6 +6,10 @@ #ifndef XTF_X86_PAGE_PAE_H #define XTF_X86_PAGE_PAE_H +#include + +#include + /** PAE pagetable entries are 64 bits wide. */ #define PAE_PTE_SIZE 8 /** PAE pagetable entries are 64 bits wide. */ diff --git a/arch/x86/include/arch/page-pse.h b/arch/x86/include/arch/page-pse.h index fdf678a..1ef3d1c 100644 --- a/arch/x86/include/arch/page-pse.h +++ b/arch/x86/include/arch/page-pse.h @@ -6,6 +6,10 @@ #ifndef XTF_X86_PAGE_PSE_H #define XTF_X86_PAGE_PSE_H +#include + +#include + /** PSE pagetable entries are 32 bits wide. */ #define PSE_PTE_SIZE 4 /** PSE pagetable entries are 32 bits wide. */ diff --git a/arch/x86/include/arch/segment.h b/arch/x86/include/arch/segment.h index 1789854..328d464 100644 --- a/arch/x86/include/arch/segment.h +++ b/arch/x86/include/arch/segment.h @@ -1,6 +1,8 @@ #ifndef XTF_X86_SEGMENT_H #define XTF_X86_SEGMENT_H +#include + #include /* diff --git a/include/xtf/hypercall.h b/include/xtf/hypercall.h index 4e8a6fc..cb33fa6 100644 --- a/include/xtf/hypercall.h +++ b/include/xtf/hypercall.h @@ -1,6 +1,7 @@ #ifndef XTF_HYPERCALL_H #define XTF_HYPERCALL_H +#include #include #include