aboutsummaryrefslogtreecommitdiff
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
commitd4659bc4a36575a075671e00f2ac07bfbdc29fb2 (patch)
tree247b09ce6b3d898d45f52060a63e92f9862d3c72
parent5b1eb29cba91625c7f8f4ed00a9618e8ccb70f41 (diff)
downloadslirp-d4659bc4a36575a075671e00f2ac07bfbdc29fb2.zip
slirp-d4659bc4a36575a075671e00f2ac07bfbdc29fb2.tar.gz
slirp-d4659bc4a36575a075671e00f2ac07bfbdc29fb2.tar.bz2
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>
-rw-r--r--misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index f95cca5..40f4a6a 100644
--- a/misc.c
+++ b/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;