summaryrefslogtreecommitdiff
path: root/hw/xen_common.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-06-26 15:05:45 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-06-26 15:05:45 -0500
commit3978f4612e7aa90469f6b1e0a04524833e77fbc6 (patch)
treef8e7cae29d2cbebf78018554c5388afd3c41160a /hw/xen_common.h
parent7a542b67b32742ff5fe286f819df891d1df7bf56 (diff)
parente108a3c110506faf3ef43448be3e0d39ef0ead8f (diff)
downloadqemu-3978f4612e7aa90469f6b1e0a04524833e77fbc6.tar.gz
Merge remote-tracking branch 'sstabellini/compile-xs' into staging
* sstabellini/compile-xs: xenstore: Use <xenstore.h> xen: Reorganize includes of Xen headers.
Diffstat (limited to 'hw/xen_common.h')
-rw-r--r--hw/xen_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/xen_common.h b/hw/xen_common.h
index 03b0bb1ea9..727757afb4 100644
--- a/hw/xen_common.h
+++ b/hw/xen_common.h
@@ -7,7 +7,11 @@
#include <inttypes.h>
#include <xenctrl.h>
-#include <xs.h>
+#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 420
+# include <xs.h>
+#else
+# include <xenstore.h>
+#endif
#include <xen/io/xenbus.h>
#include "hw.h"