aboutsummaryrefslogtreecommitdiff
path: root/hw/xen_common.h
diff options
context:
space:
mode:
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"