[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/8] qapi/qmp-registry.c: Include headers it needs
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 4/8] qapi/qmp-registry.c: Include headers it needs |
Date: |
Thu, 22 Nov 2012 15:27:27 -0200 |
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 <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
qapi/qmp-registry.c | 2 ++
1 file changed, 2 insertions(+)
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 =
--
1.7.11.7
- [Qemu-devel] [PATCH 0/8] qemu-common.h header cleanups, Eduardo Habkost, 2012/11/22
- [Qemu-devel] [PATCH 1/8] user: Move *-user/qemu-types.h to main directory, Eduardo Habkost, 2012/11/22
- [Qemu-devel] [PATCH 5/8] qga/channel-posix.c: Include headers it needs, Eduardo Habkost, 2012/11/22
- [Qemu-devel] [PATCH 7/8] create qemu-types.h for struct typedefs, Eduardo Habkost, 2012/11/22
- [Qemu-devel] [PATCH 3/8] ui/vnc-palette.c: Include headers it needs, Eduardo Habkost, 2012/11/22
- [Qemu-devel] [PATCH 6/8] qlist.h: do not include qemu-common.h, Eduardo Habkost, 2012/11/22
- [Qemu-devel] [PATCH 4/8] qapi/qmp-registry.c: Include headers it needs,
Eduardo Habkost <=
- [Qemu-devel] [PATCH 8/8] sysemu.h: include qemu-types.h instead of qemu-common.h, Eduardo Habkost, 2012/11/22
- [Qemu-devel] [PATCH 2/8] user: Rename qemu-types.h to qemu-user-types.h, Eduardo Habkost, 2012/11/22
- Re: [Qemu-devel] [PATCH 0/8] qemu-common.h header cleanups, Andreas Färber, 2012/11/26
- Re: [Qemu-devel] [PATCH 0/8] qemu-common.h header cleanups, Andreas Färber, 2012/11/30