diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-25 10:04:17 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-19 08:29:52 +0100 |
commit | 077805fa92b9089137c6b6b196d449ee05cc342f (patch) | |
tree | bb954371505f4639307269cc90714ef0b494378c /block | |
parent | 8e98e2e80b92e08e79e27a0c20a172906cfa12d2 (diff) | |
download | qemu-077805fa92b9089137c6b6b196d449ee05cc342f.tar.gz qemu-077805fa92b9089137c6b6b196d449ee05cc342f.tar.bz2 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 'block')
-rw-r--r-- | block/blkdebug.c | 1 | ||||
-rw-r--r-- | block/iscsi.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 294e983306..65556e73e5 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -23,6 +23,7 @@ */ #include "qemu-common.h" +#include "qemu-config.h" #include "block_int.h" #include "module.h" diff --git a/block/iscsi.c b/block/iscsi.c index c0b70b3d32..33b93d8000 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -27,6 +27,7 @@ #include <poll.h> #include <arpa/inet.h> #include "qemu-common.h" +#include "qemu-config.h" #include "qemu-error.h" #include "block_int.h" #include "trace.h" |