summaryrefslogtreecommitdiffstats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorAlex Bligh2013-08-21 17:02:47 +0200
committerStefan Hajnoczi2013-08-22 19:10:27 +0200
commit6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb (patch)
treee9323ec0742f142f26fcc79eecb76fdcc97ccd9d /qemu-io-cmds.c
parentaio / timers: Split QEMUClock into QEMUClock and QEMUTimerList (diff)
downloadqemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.tar.gz
qemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.tar.xz
qemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.zip
aio / timers: Untangle include files
include/qemu/timer.h has no need to include main-loop.h and doing so causes an issue for the next patch. Unfortunately various files assume including timers.h will pull in main-loop.h. Untangle this mess. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
-rw-r--r--qemu-io-cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c
index ffbcf31cfc..f91b6c4f02 100644
--- a/qemu-io-cmds.c
+++ b/qemu-io-cmds.c
@@ -10,6 +10,7 @@
#include "qemu-io.h"
#include "block/block_int.h"
+#include "qemu/main-loop.h"
#define CMD_NOFILE_OK 0x01