diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-01-20 16:16:40 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-01-26 18:15:54 +0000 |
commit | 1ac0206b2ae1ffaeec564f110664a3a77bafafd2 (patch) | |
tree | df8e97135c7dc20e5f1d023adc11ff9353b14426 | |
parent | 074092d074f7a55378659223cf54ca06f6d0fbde (diff) | |
download | hqemu-1ac0206b2ae1ffaeec564f110664a3a77bafafd2.zip hqemu-1ac0206b2ae1ffaeec564f110664a3a77bafafd2.tar.gz |
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 <pixman.h>, 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.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1421770600-17525-1-git-send-email-peter.maydell@linaro.org
-rw-r--r-- | qemu-timer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/qemu-timer.c b/qemu-timer.c index 464396f..5741f0d 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 <pthread.h> #endif |