diff --git a/hw/msi.c b/hw/msi.c index a949d821fd..0f2913aaa2 100644 --- a/hw/msi.c +++ b/hw/msi.c @@ -19,6 +19,7 @@ */ #include "msi.h" +#include "range.h" /* Eventually those constants should go to Linux pci_regs.h */ #define PCI_MSI_PENDING_32 0x10 diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c index 7e8488a4fb..58cc2e4cee 100644 --- a/hw/pci_bridge.c +++ b/hw/pci_bridge.c @@ -31,6 +31,7 @@ #include "pci_bridge.h" #include "pci_internals.h" +#include "range.h" /* PCI bridge subsystem vendor ID helper functions */ #define PCI_SSVID_SIZEOF 8 diff --git a/hw/pcie.c b/hw/pcie.c index 53d1fce7c7..881af7878c 100644 --- a/hw/pcie.c +++ b/hw/pcie.c @@ -25,6 +25,7 @@ #include "msi.h" #include "pci_internals.h" #include "pcie_regs.h" +#include "range.h" //#define DEBUG_PCIE #ifdef DEBUG_PCIE