There is no reason why QAPI clients should use monitor.h at all, qerror.h suffices.
qmp-commands.h uses the Monitor typedef, but it is only included from files that already get the typedef from qemu-common.h. v1->v2: rebase to queue/qmp Paolo Bonzini (3): kvm: add missing include files qmp: include monitor.h when needed qmp: do not include monitor.h from qapi-types-core.h hmp.c | 1 + kvm-all.c | 2 ++ net/tap.c | 1 + qapi/qapi-types-core.h | 4 +--- 4 files changed, 5 insertions(+), 3 deletions(-) -- 1.7.10.1