qemu-timer.c: Trim list of included headers
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Jan 2015 16:16:40 +0000 (16:16 +0000)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 23 Jun 2015 14:41:55 +0000 (23:41 +0900)
commit0a2d86a7d03bc114f9f78af648c881ab0780f118
tree3d547bf553f1cafdd776a957d201f397129b935c
parent4a39fced56920bd59deade9b55402902640108a5
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.

Change-Id: I390551b9706ba80d06b9f63a5fdf0ebd9424c1db
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
qemu-timer.c