diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2012-10-23 21:35:44 -0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-12-06 09:17:05 +0100 |
commit | ccff63cac4f0d391187c9ee9aa2cab754df80c41 (patch) | |
tree | da72a3b380fae9528a3af81c6ca56106675d65c8 /qapi | |
parent | 90f0cfa410544727ac4e9c130f9e5032e1fb9b71 (diff) | |
download | qemu-ccff63cac4f0d391187c9ee9aa2cab754df80c41.zip qemu-ccff63cac4f0d391187c9ee9aa2cab754df80c41.tar.gz qemu-ccff63cac4f0d391187c9ee9aa2cab754df80c41.tar.bz2 |
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>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/qmp-registry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qapi/qmp-registry.c b/qapi/qmp-registry.c index 5414613..c2c31b4 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 = |