summaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorAlex Bligh <alex@alex.org.uk>2013-08-21 16:02:47 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-08-22 19:10:27 +0200
commit6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb (patch)
treee9323ec0742f142f26fcc79eecb76fdcc97ccd9d /slirp
parentff83c66eccf5b5f6b6530d504e3be41559250dcb (diff)
downloadqemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.tar.gz
qemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.tar.bz2
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 'slirp')
-rw-r--r--slirp/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp/misc.c b/slirp/misc.c
index 0bcc481939..c0d489950a 100644
--- a/slirp/misc.c
+++ b/slirp/misc.c
@@ -9,6 +9,7 @@
#include <libslirp.h>
#include "monitor/monitor.h"
+#include "qemu/main-loop.h"
#ifdef DEBUG
int slirp_debug = DBG_CALL|DBG_MISC|DBG_ERROR;