mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-04 16:12:57 -10:00
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 <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Message-id: [email protected]
This commit is contained in:
1 parent
074092d074
commit
1ac0206b2a
1 file changed
+2
-6
+2
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user