From: Eduardo Habkost Date: Tue, 23 Oct 2012 23:35:44 +0000 (-0200) Subject: qapi/qmp-registry.c: Include headers it needs X-Git-Tag: pull-xen-20190110~5644^2~9 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ccff63cac4f0d391187c9ee9aa2cab754df80c41;p=people%2Faperard%2Fqemu-dm.git qapi/qmp-registry.c: Include headers it needs Include: - for g_malloc0() - for strcmp() Some of those headers were probably being included by accident because some other headers were including qemu-common.h, but those headers should eventually stop including qemu-common.h. Signed-off-by: Eduardo Habkost Signed-off-by: Andreas Färber --- diff --git a/qapi/qmp-registry.c b/qapi/qmp-registry.c index 5414613377..c2c31b420d 100644 --- a/qapi/qmp-registry.c +++ b/qapi/qmp-registry.c @@ -12,6 +12,8 @@ * */ +#include +#include #include "qapi/qmp-core.h" static QTAILQ_HEAD(QmpCommandList, QmpCommand) qmp_commands =