From: Alexey Kardashevskiy Date: Mon, 22 Apr 2013 07:42:50 +0000 (+1000) Subject: translate-all: fix compiler warning and linked error X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~2038 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0aa09897571c55292703b7a099d7ea79baa09950;p=sdk%2Femulator%2Fqemu.git translate-all: fix compiler warning and linked error The code did use profile_getclock() but did not include include/qemu/timer.h where this function is defined. The patch fixes this. Signed-off-by: Alexey Kardashevskiy Message-id: 1366616571-4321-1-git-send-email-aik@ozlabs.ru Signed-off-by: Anthony Liguori --- diff --git a/translate-all.c b/translate-all.c index 08dd038..d04a116 100644 --- a/translate-all.c +++ b/translate-all.c @@ -58,6 +58,7 @@ #include "exec/cputlb.h" #include "translate-all.h" +#include "qemu/timer.h" //#define DEBUG_TB_INVALIDATE //#define DEBUG_FLUSH