aboutsummaryrefslogtreecommitdiff
path: root/trace/qmp.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-05-03 22:50:28 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-06-01 19:20:37 +0300
commita322714248b9e8dffe6a2bb379ffd5d59b394bb7 (patch)
tree1f6efdc944c80956d09efbde3ecc3f94bbb4a043 /trace/qmp.c
parent83ee768d6247bf121b5b8f4b7580fbbc1281d473 (diff)
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/qmp.c')
-rw-r--r--trace/qmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace/qmp.c b/trace/qmp.c
index 756086c79f..ea99b00956 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)