]> git.proxmox.com Git - qemu.git/commitdiff
PPC: Fix compile with profiling enabled
authorAlexander Graf <agraf@suse.de>
Fri, 19 Apr 2013 00:35:08 +0000 (02:35 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 21:02:41 +0000 (23:02 +0200)
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 <agraf@suse.de>
translate-all.c

index d04a1162cd00e6a09848e582d592636a2cdb5e71..da93608f0382a840154c2ba40712cae5e682c400 100644 (file)
@@ -55,6 +55,7 @@
 #else
 #include "exec/address-spaces.h"
 #endif
+#include "qemu/timer.h"
 
 #include "exec/cputlb.h"
 #include "translate-all.h"