* [Qemu-devel] [PATCH] build: Fix double-definition when using LTTng tracing
@ 2016-01-28 20:37 Lluís Vilanova
0 siblings, 0 replies; only message in thread
From: Lluís Vilanova @ 2016-01-28 20:37 UTC (permalink / raw)
To: qemu-devel; +Cc: Paolo Bonzini, Richard Henderson, Peter Crosthwaite
In linux-user builds, the LTTng backend pulls "syscall.h", which
resets defines in "errno_defs.h", while "qemu.h" pulls "errno_defs.h"
after "syscall.h" has been included.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
translate-all.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/translate-all.c b/translate-all.c
index 042a857..88d3e7d 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -33,7 +33,6 @@
#include "qemu-common.h"
#define NO_CPU_IO_DEFS
#include "cpu.h"
-#include "trace.h"
#include "disas/disas.h"
#include "tcg.h"
#if defined(CONFIG_USER_ONLY)
@@ -56,6 +55,7 @@
#else
#include "exec/address-spaces.h"
#endif
+#include "trace.h"
#include "exec/cputlb.h"
#include "exec/tb-hash.h"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-28 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28 20:37 [Qemu-devel] [PATCH] build: Fix double-definition when using LTTng tracing Lluís Vilanova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).