]> git.proxmox.com Git - mirror_qemu.git/commitdiff
trace: use local path for local headers
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 May 2018 19:50:28 +0000 (22:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Jun 2018 16:20:37 +0000 (19:20 +0300)
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>
trace/control.h
trace/qmp.c

index 1903e2297537a5b3b9cc34f6483d684bcc3758b9..eb65c8e3205ae370748415a54a4e7fbdcb922823 100644 (file)
@@ -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 */
index 756086c79fb0a9482a9f018ff76362e338d82e50..ea99b009563441240d67a89a10c12194bfe38819 100644 (file)
@@ -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)