aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-04-08 17:29:59 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-15 18:19:26 +0200
commit0bc3cd624f1d59456cad769bb07e84066a2ddaf9 (patch)
treef4ef49e589605b99ceb087941ea164203564694b /translate-all.c
parentdccfcd0e5f8f37360ebda11ccc4dab164c04d5a3 (diff)
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 <pbonzini@redhat.com>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c5
1 files changed, 2 insertions, 3 deletions
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 <libutil.h>
#endif
#endif
+#else
+#include "exec/address-spaces.h"
#endif
#include "exec/cputlb.h"