summaryrefslogtreecommitdiffstats
path: root/hw/virtio-pci.h
diff options
context:
space:
mode:
authorKONRAD Frederic2013-01-14 22:52:02 +0100
committerAnthony Liguori2013-01-15 01:52:39 +0100
commitcf7c3f0cb5a7129f57fa9e69d410d6a05031988c (patch)
tree14052511ddfd72209d03c47596ec95c68f229de5 /hw/virtio-pci.h
parentdataplane: fix build breakage on set_guest_notifiers() (diff)
downloadqemu-cf7c3f0cb5a7129f57fa9e69d410d6a05031988c.tar.gz
qemu-cf7c3f0cb5a7129f57fa9e69d410d6a05031988c.tar.xz
qemu-cf7c3f0cb5a7129f57fa9e69d410d6a05031988c.zip
virtio-9p: fix compilation error.
Fix the compilation error introduced by msg new field. CC hw/9pfs/virtio-9p.o In file included from /home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/9pfs/virtio-9p.c:17:0: /home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/virtio-pci.h:30:16: erreur: field ‘msg’ has incomplete type make: *** [hw/9pfs/virtio-9p.o] Erreur 1 Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Diffstat (limited to 'hw/virtio-pci.h')
-rw-r--r--hw/virtio-pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio-pci.h b/hw/virtio-pci.h
index 9ff3139fe9..917b465874 100644
--- a/hw/virtio-pci.h
+++ b/hw/virtio-pci.h
@@ -15,6 +15,7 @@
#ifndef QEMU_VIRTIO_PCI_H
#define QEMU_VIRTIO_PCI_H
+#include "hw/pci/msi.h"
#include "virtio-blk.h"
#include "virtio-net.h"
#include "virtio-rng.h"