aboutsummaryrefslogtreecommitdiff
path: root/trace/control.h
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/control.h
parent83ee768d6247bf121b5b8f4b7580fbbc1281d473 (diff)
downloadqemu-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/control.h')
-rw-r--r--trace/control.h2
1 files changed, 1 insertions, 1 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 */