From: Peter Maydell Date: Tue, 20 Jan 2015 16:16:40 +0000 (+0000) Subject: qemu-timer.c: Trim list of included headers X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~346 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a2d86a7d03bc114f9f78af648c881ab0780f118;p=sdk%2Femulator%2Fqemu.git qemu-timer.c: Trim list of included headers qemu-timer.c was including a lot more headers than it needed to, presumably for historical reasons. In particular, it included ui/console.h; this now tries to pull in , which will cause a compilation failure in --disable-tools --disable-system configurations when running "make check" (which builds qemu-timer.c, even though the linux-user binaries themselves don't need it). Fix this build failure by trimming down the set of included headers severely -- we only really need main-loop.h and timer.h. Change-Id: I390551b9706ba80d06b9f63a5fdf0ebd9424c1db Signed-off-by: Peter Maydell Reviewed-by: Paolo Bonzini Message-id: 1421770600-17525-1-git-send-email-peter.maydell@linaro.org --- diff --git a/qemu-timer.c b/qemu-timer.c index 43074950ad..5a86250869 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -22,13 +22,9 @@ * THE SOFTWARE. */ -#include "sysemu/sysemu.h" -#include "monitor/monitor.h" -#include "ui/console.h" - -#include "hw/hw.h" - +#include "qemu/main-loop.h" #include "qemu/timer.h" + #ifdef CONFIG_POSIX #include #endif