aboutsummaryrefslogtreecommitdiff
path: root/hw/hppa
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-05-03 22:50:25 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-06-01 19:20:37 +0300
commit070e9a1e837e1a2ba5c6450eb8ce2e18b29c4af8 (patch)
tree3d495b0b23bb5d1a240d7551e61e3966d6cde5ff /hw/hppa
parent986bc8ded9a5459e72951cc91b53cf2b52eb735f (diff)
downloadqemu-070e9a1e837e1a2ba5c6450eb8ce2e18b29c4af8.zip
qemu-070e9a1e837e1a2ba5c6450eb8ce2e18b29c4af8.tar.gz
qemu-070e9a1e837e1a2ba5c6450eb8ce2e18b29c4af8.tar.bz2
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>
Diffstat (limited to 'hw/hppa')
-rw-r--r--hw/hppa/hppa_sys.h2
-rw-r--r--hw/hppa/machine.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/hppa/hppa_sys.h b/hw/hppa/hppa_sys.h
index a182d1f..f98cc8d 100644
--- a/hw/hppa/hppa_sys.h
+++ b/hw/hppa/hppa_sys.h
@@ -10,7 +10,7 @@
#include "hw/i386/pc.h"
#include "hw/irq.h"
-#include "hw/hppa/hppa_hardware.h"
+#include "hppa_hardware.h"
PCIBus *dino_init(MemoryRegion *, qemu_irq *, qemu_irq *);
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index a1d6b0e..aba269b 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -16,7 +16,7 @@
#include "hw/ide.h"
#include "hw/timer/i8254.h"
#include "hw/char/serial.h"
-#include "hw/hppa/hppa_sys.h"
+#include "hppa_sys.h"
#include "qemu/cutils.h"
#include "qapi/error.h"
#include "qemu/log.h"