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 /hw/qdev-properties.c | |
parent | 8e98e2e80b92e08e79e27a0c20a172906cfa12d2 (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 'hw/qdev-properties.c')
-rw-r--r-- | hw/qdev-properties.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c index 81d901c6c4..b9cd3c0077 100644 --- a/hw/qdev-properties.c +++ b/hw/qdev-properties.c @@ -5,6 +5,7 @@ #include "hw/block-common.h" #include "net/hub.h" #include "qapi/qapi-visit-core.h" +#include "qemu-char.h" void *qdev_get_prop_ptr(DeviceState *dev, Property *prop) { |