summary refs log tree commit diff stats
path: root/linux-user/user-internals.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-09-08 16:44:05 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-09-13 20:35:45 +0200
commitd0a7920eb4fc44dd4485167edf7db7fac1de6977 (patch)
treec4bd12a48ae6d0e71ea32ad766048295d7e8ef8c /linux-user/user-internals.h
parent85b4fa0cd189311dc1c69714e669b5a12b0552f6 (diff)
downloadfocaccia-qemu-d0a7920eb4fc44dd4485167edf7db7fac1de6977.tar.gz
focaccia-qemu-d0a7920eb4fc44dd4485167edf7db7fac1de6977.zip
linux-user: Drop unneeded includes from qemu.h
Trim down the #includes in qemu.h where we can, either by
dropping unneeded headers or by moving them to user-internals.h.

This includes deleting a couple of #includes that appear at
weird points midway through the header file.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210908154405.15417-10-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/user-internals.h')
-rw-r--r--linux-user/user-internals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/user-internals.h b/linux-user/user-internals.h
index 1729a8b62e..661612a088 100644
--- a/linux-user/user-internals.h
+++ b/linux-user/user-internals.h
@@ -20,6 +20,8 @@
 
 #include "hostdep.h"
 #include "exec/user/thunk.h"
+#include "exec/exec-all.h"
+#include "qemu/log.h"
 
 extern char *exec_path;
 void init_task_state(TaskState *ts);