Received: from eggs.gnu.org ([208.118.235.92]:55405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVnHP-0003Ot-BY for qemu-devel@nongnu.org; Fri, 26 Apr 2013 14:22:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVnHL-0004yJ-Oy for qemu-devel@nongnu.org; Fri, 26 Apr 2013 14:21:55 -0400 From: Alexander Graf Date: Fri, 26 Apr 2013 20:21:30 +0200 Message-Id: <1367000509-8833-12-git-send-email-agraf@suse.de> In-Reply-To: <1367000509-8833-1-git-send-email-agraf@suse.de> References: <1367000509-8833-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 11/30] PPC: Fix compile with profiling enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: Blue Swirl , qemu-devel@nongnu.org, Aurelien Jarno When using profiling, we rely on profile_getclock() being available at our disposal. Somehow that function got moved from an indirect include we used to have in translate-init.c, so that we were now left not properly compiling anymore. Add an explicit include to timer.h which defines profile_getclock, so that we can compile again. Signed-off-by: Alexander Graf --- translate-all.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/translate-all.c b/translate-all.c index d04a116..da93608 100644 --- a/translate-all.c +++ b/translate-all.c @@ -55,6 +55,7 @@ #else #include "exec/address-spaces.h" #endif +#include "qemu/timer.h" #include "exec/cputlb.h" #include "translate-all.h" -- 1.6.0.2