ide: use local path for local headers
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 May 2018 19:50:31 +0000 (22:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Jun 2018 16:20:37 +0000 (19:20 +0300)
When pulling in headers that are in the same directory as the C file (as
opposed to one in include/), we should use its relative path, without a
directory.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/ide/ahci-allwinner.c
hw/ide/ahci.c
hw/ide/ich.c

index 2fd95078baa54e8f2492982b7265cd0185bdeb48..f98e6cb3d4fcbb3bdf09f6e583f73d321958f6cc 100644 (file)
@@ -20,7 +20,7 @@
 #include "qemu/error-report.h"
 #include "sysemu/dma.h"
 #include "hw/ide/internal.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
 
 #include "trace.h"
 
index e22d7be05ffa9ae80a79555489d4b87a73a298c4..24dbad51252c29de5736b59e5f0edb163a1b87a8 100644 (file)
@@ -31,7 +31,7 @@
 #include "sysemu/dma.h"
 #include "hw/ide/internal.h"
 #include "hw/ide/pci.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
 
 #include "trace.h"
 
index 134478ebb21dc0c114059b20ab8c1ed3cf0ad383..51c935a0dae8d4aa1b713a02c2469df6ad8e4e40 100644 (file)
@@ -67,7 +67,7 @@
 #include "hw/isa/isa.h"
 #include "sysemu/dma.h"
 #include "hw/ide/pci.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
 
 #define ICH9_MSI_CAP_OFFSET     0x80
 #define ICH9_SATA_CAP_OFFSET    0xA8