From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUWk-0004ls-FJ for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfUWi-0005MP-EY for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:17:18 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:61255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUWi-0005Lr-AA for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:17:16 -0400 From: Anthony PERARD Date: Fri, 15 Jun 2012 12:17:10 +0100 Message-ID: <1339759030-32653-3-git-send-email-anthony.perard@citrix.com> In-Reply-To: <1339759030-32653-1-git-send-email-anthony.perard@citrix.com> References: <1339759030-32653-1-git-send-email-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 2/2] xenstore: Use List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel Cc: Anthony PERARD , Stefano Stabellini , Xen Devel In the next release of Xen (4.2), xs.h became deprecated. Signed-off-by: Anthony PERARD --- configure | 2 +- hw/xen_common.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index c2366ee..e7f66c9 100755 --- a/configure +++ b/configure @@ -1382,7 +1382,7 @@ EOF elif ( cat > $TMPC < -#include +#include #include #include #if !defined(HVM_MAX_VCPUS) diff --git a/hw/xen_common.h b/hw/xen_common.h index fe7f227..cc99204 100644 --- a/hw/xen_common.h +++ b/hw/xen_common.h @@ -7,7 +7,11 @@ #include #include -#include +#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 420 +# include +#else +# include +#endif #include #include "hw.h" -- Anthony PERARD