aboutsummaryrefslogtreecommitdiff
path: root/bt-host.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-09-25 10:04:17 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:29:52 +0100
commit077805fa92b9089137c6b6b196d449ee05cc342f (patch)
treebb954371505f4639307269cc90714ef0b494378c /bt-host.c
parent8e98e2e80b92e08e79e27a0c20a172906cfa12d2 (diff)
janitor: do not rely on indirect inclusions of or from qemu-char.h
Various header files rely on qemu-char.h including qemu-config.h or main-loop.h, but they really do not need qemu-char.h at all (particularly interesting is the case of the block layer!). Clean this up, and also add missing inclusions of qemu-char.h itself. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'bt-host.c')
-rw-r--r--bt-host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bt-host.c b/bt-host.c
index 0d3ad28e8c..8b47370b26 100644
--- a/bt-host.c
+++ b/bt-host.c
@@ -21,6 +21,7 @@
#include "qemu-char.h"
#include "net.h"
#include "bt-host.h"
+#include "main-loop.h"
#ifndef _WIN32
# include <errno.h>