瀏覽代碼

hppa: 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 7 年之前
父節點
當前提交
070e9a1e83
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      hw/hppa/hppa_sys.h
  2. 1 1
      hw/hppa/machine.c

+ 1 - 1
hw/hppa/hppa_sys.h

@@ -10,7 +10,7 @@
 #include "hw/i386/pc.h"
 #include "hw/i386/pc.h"
 #include "hw/irq.h"
 #include "hw/irq.h"
 
 
-#include "hw/hppa/hppa_hardware.h"
+#include "hppa_hardware.h"
 
 
 PCIBus *dino_init(MemoryRegion *, qemu_irq *, qemu_irq *);
 PCIBus *dino_init(MemoryRegion *, qemu_irq *, qemu_irq *);
 
 

+ 1 - 1
hw/hppa/machine.c

@@ -16,7 +16,7 @@
 #include "hw/ide.h"
 #include "hw/ide.h"
 #include "hw/timer/i8254.h"
 #include "hw/timer/i8254.h"
 #include "hw/char/serial.h"
 #include "hw/char/serial.h"
-#include "hw/hppa/hppa_sys.h"
+#include "hppa_sys.h"
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/log.h"
 #include "qemu/log.h"