qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] build: Fix double-definition when using LTTng traci


From: Lluís Vilanova
Subject: [Qemu-devel] [PATCH] build: Fix double-definition when using LTTng tracing
Date: Thu, 28 Jan 2016 21:37:04 +0100
User-agent: StGit/0.17.1-dirty

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 <address@hidden>
---
 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"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]