Include pci.h and pci_regs.h.
Signed-off-by: Sebastian Herbszt herbszt@gmx.de
diff --git a/src/virtio-pci.c b/src/virtio-pci.c index 7e0c1a5..4b9ad0a 100644 --- a/src/virtio-pci.c +++ b/src/virtio-pci.c @@ -19,6 +19,8 @@ #include "virtio-pci.h" #include "config.h" // CONFIG_DEBUG_LEVEL #include "util.h" // dprintf +#include "pci.h" // pci_config_readl +#include "pci_regs.h" // PCI_BASE_ADDRESS_0
int vp_find_vq(unsigned int ioaddr, int queue_index, struct vring_virtqueue **p_vq)
On Mon, Nov 21, 2011 at 12:23:20PM +0100, Sebastian Herbszt wrote:
Include pci.h and pci_regs.h.
Signed-off-by: Sebastian Herbszt herbszt@gmx.de
Thanks - I committed this.
-Kevin