aboutsummaryrefslogtreecommitdiff
path: root/src/vgahooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vgahooks.c')
-rw-r--r--src/vgahooks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vgahooks.c b/src/vgahooks.c
index 48efb08..1f14953 100644
--- a/src/vgahooks.c
+++ b/src/vgahooks.c
@@ -7,7 +7,8 @@
#include "biosvar.h" // GET_GLOBAL
#include "bregs.h" // set_code_invalid
#include "config.h" // CONFIG_*
-#include "hw/pci.h" // pci_find_device
+#include "hw/pci.h" // pci_config_readb
+#include "hw/pcidevice.h" // pci_find_device
#include "hw/pci_ids.h" // PCI_VENDOR_ID_VIA
#include "hw/pci_regs.h" // PCI_VENDOR_ID
#include "output.h" // dprintf