aboutsummaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-03-21 13:51:25 -0700
committerStefano Stabellini <sstabellini@kernel.org>2017-04-21 12:41:29 -0700
commitf65eadb6394340ccf7d23533c7844b6e21c056e9 (patch)
tree772fd8a08b09aeb6cdf3fe7d42cddaf55ebb8f39 /hw/usb
parentc1cdd9d5beb052b072c1f57ea634e3c52e9dc17b (diff)
xen: import ring.h from xen
Do not use the ring.h header installed on the system. Instead, import the header into the QEMU codebase. This avoids problems when QEMU is built against a Xen version too old to provide all the ring macros. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Reviewed-by: Greg Kurz <groug@kaod.org> CC: anthony.perard@citrix.com CC: jgross@suse.com
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/xen-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/xen-usb.c b/hw/usb/xen-usb.c
index 8e676e6c96..370b3d9387 100644
--- a/hw/usb/xen-usb.c
+++ b/hw/usb/xen-usb.c
@@ -33,7 +33,7 @@
#include "qapi/qmp/qint.h"
#include "qapi/qmp/qstring.h"
-#include <xen/io/ring.h>
+#include "hw/xen/io/ring.h"
#include <xen/io/usbif.h>
/*