Skip to content

Commit

Permalink
hppa: use local path for local headers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mstsirkin committed Jun 1, 2018
1 parent 986bc8d commit 070e9a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hw/hppa/hppa_sys.h
Expand Up @@ -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 *);

Expand Down
2 changes: 1 addition & 1 deletion hw/hppa/machine.c
Expand Up @@ -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"
Expand Down

0 comments on commit 070e9a1

Please sign in to comment.