From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USzVa-0002dS-A1 for qemu-devel@nongnu.org; Thu, 18 Apr 2013 20:49:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USzVZ-0003Wp-FG for qemu-devel@nongnu.org; Thu, 18 Apr 2013 20:48:58 -0400 From: Alexander Graf Date: Fri, 19 Apr 2013 02:48:56 +0200 Message-Id: <1366332536-8712-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] PPC: Fix compile with profiling enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: qemu-devel@nongnu.org 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 --- translate-all.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/translate-all.c b/translate-all.c index 08dd038..a18bf55 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" -- 1.6.0.2