From 2d8ebcf94ee461dea9eb363be7becb769d9a962f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 17 Apr 2010 16:25:10 +0000 Subject: 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 Signed-off-by: Blue Swirl --- tcg/tcg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tcg/tcg.c') diff --git a/tcg/tcg.c b/tcg/tcg.c index 6db96d09bf..54f7fa9296 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 -- cgit 1.4.1