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>
This commit is contained in:
Michael S. Tsirkin 2018-05-03 22:50:31 +03:00
parent e921d6eff9
commit 9314b859bb
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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