]> git.proxmox.com Git - mirror_qemu.git/commitdiff
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)
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

index 54146133772d9483d6d64d07136ca75211d17b70..c2c31b420d4b3a31ccc8b40f90857faeb400d62c 100644 (file)
@@ -12,6 +12,8 @@
  *
  */
 
+#include <glib.h>
+#include <string.h>
 #include "qapi/qmp-core.h"
 
 static QTAILQ_HEAD(QmpCommandList, QmpCommand) qmp_commands =