From c8ff5daa09516272117eb23cd00da5d188ba73eb Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 19 Apr 2013 02:35:08 +0200 Subject: PPC: Fix compile with profiling enabled 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 file changed, 1 insertion(+) (limited to 'translate-all.c') diff --git a/translate-all.c b/translate-all.c index d04a1162cd..da93608f03 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" -- cgit v1.2.1