aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-04-17 16:25:10 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-04-17 16:25:10 +0000
commit2d8ebcf94ee461dea9eb363be7becb769d9a962f (patch)
tree9208e57f9e950459b07462996f64f1f2ed442425 /tcg/tcg.c
parent42a8aa8393b931c92662578bc6b0b82c54fe63f8 (diff)
downloadqemu-2d8ebcf94ee461dea9eb363be7becb769d9a962f.zip
qemu-2d8ebcf94ee461dea9eb363be7becb769d9a962f.tar.gz
qemu-2d8ebcf94ee461dea9eb363be7becb769d9a962f.tar.bz2
Fix --enable-profiler compilation.
There's a header file inclusion ordering problem between cpu-all.h and qemu-timer.h, such that cpu_get_real_ticks is not defined when we attempt to use it in profile_getclock. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r--tcg/tcg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 6db96d0..54f7fa9 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -47,6 +47,7 @@
#include "qemu-common.h"
#include "cache-utils.h"
#include "host-utils.h"
+#include "qemu-timer.h"
/* Note: the long term plan is to reduce the dependancies on the QEMU
CPU definitions. Currently they are used for qemu_ld/st