aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-10-23 21:35:44 -0200
committerAndreas Färber <afaerber@suse.de>2012-12-06 09:17:05 +0100
commitccff63cac4f0d391187c9ee9aa2cab754df80c41 (patch)
treeda72a3b380fae9528a3af81c6ca56106675d65c8
parent90f0cfa410544727ac4e9c130f9e5032e1fb9b71 (diff)
qapi/qmp-registry.c: Include headers it needs
Include: - <glib.h> for g_malloc0() - <string.h> 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 <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--qapi/qmp-registry.c2
1 files changed, 2 insertions, 0 deletions
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 <glib.h>
+#include <string.h>
#include "qapi/qmp-core.h"
static QTAILQ_HEAD(QmpCommandList, QmpCommand) qmp_commands =