aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-pci.h
diff options
context:
space:
mode:
authorKONRAD Frederic <fred.konrad@greensocs.com>2013-01-14 22:52:02 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-01-14 18:52:39 -0600
commitcf7c3f0cb5a7129f57fa9e69d410d6a05031988c (patch)
tree14052511ddfd72209d03c47596ec95c68f229de5 /hw/virtio-pci.h
parentb8bec49cccbf8e34558371df60e7e64419c4fde9 (diff)
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"