From: Alexander Graf Date: Fri, 19 Apr 2013 00:35:08 +0000 (+0200) Subject: PPC: Fix compile with profiling enabled X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c8ff5daa09516272117eb23cd00da5d188ba73eb;p=qemu.git 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 --- 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"