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: v1.4.0-rc0~302^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccff63cac4f0d391187c9ee9aa2cab754df80c41;p=thirdparty%2Fqemu.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 54146133772..c2c31b420d4 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 =