From: Keir Fraser Date: Wed, 15 Sep 2010 06:46:47 +0000 (+0100) Subject: ia64, xencomm: fix 1028:6f7bda25a4de X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=17d52129aca1f76d0fc511c013346b967904bd57;p=legacy%2Flinux-2.6.18-xen.git 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 --- 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