aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-04-19 02:35:08 +0200
committerAlexander Graf <agraf@suse.de>2013-04-26 23:02:41 +0200
commitc8ff5daa09516272117eb23cd00da5d188ba73eb (patch)
treee0b18192d226aa628e0bcfa4e1cdb32b6bd8a7f9 /translate-all.c
parent20f649dd22dae13301c906c27a8768a318591ae8 (diff)
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 <agraf@suse.de>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c1
1 files changed, 1 insertions, 0 deletions
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"