Procházet zdrojové kódy

ide: use local path for local headers

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>
Michael S. Tsirkin před 7 roky
rodič
revize
9314b859bb
3 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 1 1
      hw/ide/ahci-allwinner.c
  2. 1 1
      hw/ide/ahci.c
  3. 1 1
      hw/ide/ich.c

+ 1 - 1
hw/ide/ahci-allwinner.c

@@ -20,7 +20,7 @@
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
 #include "hw/ide/internal.h"
 #include "hw/ide/internal.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
 
 
 #include "trace.h"
 #include "trace.h"
 
 

+ 1 - 1
hw/ide/ahci.c

@@ -31,7 +31,7 @@
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
 #include "hw/ide/internal.h"
 #include "hw/ide/internal.h"
 #include "hw/ide/pci.h"
 #include "hw/ide/pci.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
 
 
 #include "trace.h"
 #include "trace.h"
 
 

+ 1 - 1
hw/ide/ich.c

@@ -67,7 +67,7 @@
 #include "hw/isa/isa.h"
 #include "hw/isa/isa.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
 #include "hw/ide/pci.h"
 #include "hw/ide/pci.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
 
 
 #define ICH9_MSI_CAP_OFFSET     0x80
 #define ICH9_MSI_CAP_OFFSET     0x80
 #define ICH9_SATA_CAP_OFFSET    0xA8
 #define ICH9_SATA_CAP_OFFSET    0xA8