[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 04/11] ide/ahci: add missing includes
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-block] [PATCH 04/11] ide/ahci: add missing includes |
Date: |
Mon, 8 May 2017 20:39:11 -0300 |
qemu/include/hw/ide/ahci.h:260:16: error: field ‘sglist’ has incomplete type
QEMUSGList sglist;
^~~~~~
/qemu/include/hw/ide/ahci.h:272:5: error: unknown type name ‘IDEDMA’
IDEDMA dma;
^~~~~~
qemu/include/hw/ide/ahci.h:273:5: error: unknown type name ‘IDEBus’
IDEBus port;
^~~~~~
qemu/include/hw/ide/ahci.h:305:15: error: field ‘parent_obj’ has incomplete type
PCIDevice parent_obj;
^~~~~~~~~~
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
include/hw/ide/ahci.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/hw/ide/ahci.h b/include/hw/ide/ahci.h
index 0ca7c65820..293f9ebcd0 100644
--- a/include/hw/ide/ahci.h
+++ b/include/hw/ide/ahci.h
@@ -25,6 +25,8 @@
#define HW_IDE_AHCI_H
#include "hw/sysbus.h"
+#include "hw/ide/internal.h"
+#include "sysemu/dma.h"
#define AHCI_MEM_BAR_SIZE 0x1000
#define AHCI_MAX_PORTS 32
--
2.11.0
- [Qemu-block] [PATCH 04/11] ide/ahci: add missing includes,
Philippe Mathieu-Daudé <=