From 0bc3cd624f1d59456cad769bb07e84066a2ddaf9 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 8 Apr 2013 17:29:59 +0200 Subject: include: avoid useless includes of exec/ headers Headers in include/exec/ are for the deepest innards of QEMU, they should almost never be included directly. Signed-off-by: Paolo Bonzini --- translate-all.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'translate-all.c') diff --git a/translate-all.c b/translate-all.c index a98c646d92..08dd038816 100644 --- a/translate-all.c +++ b/translate-all.c @@ -35,9 +35,6 @@ #include "cpu.h" #include "disas/disas.h" #include "tcg.h" -#include "qemu/timer.h" -#include "exec/memory.h" -#include "exec/address-spaces.h" #if defined(CONFIG_USER_ONLY) #include "qemu.h" #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) @@ -55,6 +52,8 @@ #include #endif #endif +#else +#include "exec/address-spaces.h" #endif #include "exec/cputlb.h" -- cgit v1.2.1