Received: from eggs.gnu.org ([2001:4830:134:3::10]:33188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJLUx-0002JE-ET for qemu-devel@nongnu.org; Fri, 09 Jun 2017 11:06:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJLUu-0000yK-PK for qemu-devel@nongnu.org; Fri, 09 Jun 2017 11:06:51 -0400 Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 9 Jun 2017 12:06:00 -0300 Message-Id: <20170609150600.4654-3-f4bug@amsat.org> In-Reply-To: <20170609150600.4654-1-f4bug@amsat.org> References: <20170609150600.4654-1-f4bug@amsat.org> In-Reply-To: <80969f61-38d4-20ac-d850-5e90c8852b40@redhat.com> References: <80969f61-38d4-20ac-d850-5e90c8852b40@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [RFC PATCH 2/2] ide/ahci: add missing includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, John Snow , Eric Blake Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org CC arm-softmmu/hw/arm/highbank.o In file included from qemu/hw/arm/highbank.c:34:0: 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; ^~~~~~~~~~ qemu/rules.mak:69: recipe for target 'hw/arm/highbank.o' failed make[1]: *** [hw/arm/highbank.o] Error 1 make: *** [subdir-arm-softmmu] Error 2 Signed-off-by: Philippe Mathieu-Daudé --- 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