]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi/qmp-registry.c: Include headers it needs
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 23 Oct 2012 23:35:44 +0000 (21:35 -0200)
committerAndreas Färber <afaerber@suse.de>
Thu, 6 Dec 2012 08:17:05 +0000 (09:17 +0100)
commitccff63cac4f0d391187c9ee9aa2cab754df80c41
treeda72a3b380fae9528a3af81c6ca56106675d65c8
parent90f0cfa410544727ac4e9c130f9e5032e1fb9b71
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>
qapi/qmp-registry.c