From 17d52129aca1f76d0fc511c013346b967904bd57 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 15 Sep 2010 07:46:47 +0100 Subject: [PATCH] ia64, xencomm: fix 1028:6f7bda25a4de Because xen-compat.h defines __XEN_INTERFACE_VERSION__ only if __XEN__ or __XEN_TOOLS__ is defined, I added #include xen-compat.h before #define __XEN_TOOLS__. I confirmed that dom0 kernel could be built without warnings and guests could be created. Signed-off-by: KUWAMURA Shin'ya --- arch/ia64/xen/xcom_privcmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/ia64/xen/xcom_privcmd.c b/arch/ia64/xen/xcom_privcmd.c index 8aa788e7..4076a028 100644 --- a/arch/ia64/xen/xcom_privcmd.c +++ b/arch/ia64/xen/xcom_privcmd.c @@ -16,6 +16,8 @@ * Authors: Hollis Blanchard * Tristan Gingold */ +#include +#define __XEN_TOOLS__ #include #include #include -- 2.39.5