The profiler need qemu-timer.h
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 3 Dec 2007 17:05:38 +0000 (17:05 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 3 Dec 2007 17:05:38 +0000 (17:05 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3770 c046a42c-6fe2-441c-8c8c-71466251a162

monitor.c

index 3c4694c..aa39147 100644 (file)
--- a/monitor.c
+++ b/monitor.c
 #include "disas.h"
 #include <dirent.h>
 
+#ifdef CONFIG_PROFILER
+#include "qemu-timer.h" /* for ticks_per_sec */
+#endif
+
 //#define DEBUG
 //#define DEBUG_COMPLETION