diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-05-03 22:50:28 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-06-01 19:20:37 +0300 |
commit | a322714248b9e8dffe6a2bb379ffd5d59b394bb7 (patch) | |
tree | 1f6efdc944c80956d09efbde3ecc3f94bbb4a043 /trace | |
parent | 83ee768d6247bf121b5b8f4b7580fbbc1281d473 (diff) | |
download | qemu-a322714248b9e8dffe6a2bb379ffd5d59b394bb7.zip qemu-a322714248b9e8dffe6a2bb379ffd5d59b394bb7.tar.gz qemu-a322714248b9e8dffe6a2bb379ffd5d59b394bb7.tar.bz2 |
trace: 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: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'trace')
-rw-r--r-- | trace/control.h | 2 | ||||
-rw-r--r-- | trace/qmp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/trace/control.h b/trace/control.h index 1903e22..eb65c8e 100644 --- a/trace/control.h +++ b/trace/control.h @@ -267,6 +267,6 @@ char *trace_opt_parse(const char *optarg); uint32_t trace_get_vcpu_event_count(void); -#include "trace/control-internal.h" +#include "control-internal.h" #endif /* TRACE__CONTROL_H */ diff --git a/trace/qmp.c b/trace/qmp.c index 756086c..ea99b00 100644 --- a/trace/qmp.c +++ b/trace/qmp.c @@ -10,7 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qapi-commands-trace.h" -#include "trace/control.h" +#include "control.h" static CPUState *get_cpu(bool has_vcpu, int vcpu, Error **errp) |