summaryrefslogtreecommitdiffstats
path: root/hw/spapr.c
diff options
context:
space:
mode:
authorPaolo Bonzini2012-09-25 10:04:17 +0200
committerPaolo Bonzini2012-12-19 08:29:52 +0100
commit077805fa92b9089137c6b6b196d449ee05cc342f (patch)
treebb954371505f4639307269cc90714ef0b494378c /hw/spapr.c
parentbuild: kill libuser (diff)
downloadqemu-077805fa92b9089137c6b6b196d449ee05cc342f.tar.gz
qemu-077805fa92b9089137c6b6b196d449ee05cc342f.tar.xz
qemu-077805fa92b9089137c6b6b196d449ee05cc342f.zip
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 'hw/spapr.c')
-rw-r--r--hw/spapr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/spapr.c b/hw/spapr.c
index 9bd2fd5c8c..7306ab368a 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -49,6 +49,7 @@
#include "exec-memory.h"
#include "hw/usb.h"
+#include "qemu-config.h"
#include <libfdt.h>