From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWoJO-0003Fi-CB for qemu-devel@nongnu.org; Fri, 09 Nov 2012 08:07:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWoJF-0004ZF-QQ for qemu-devel@nongnu.org; Fri, 09 Nov 2012 08:07:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWoJF-0004XE-I2 for qemu-devel@nongnu.org; Fri, 09 Nov 2012 08:07:45 -0500 From: Eduardo Habkost Date: Fri, 9 Nov 2012 11:08:26 -0200 Message-Id: <1352466519-5779-12-git-send-email-ehabkost@redhat.com> In-Reply-To: <1352466519-5779-1-git-send-email-ehabkost@redhat.com> References: <1352466519-5779-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 11/24] qapi/qmp-registry.c: include headers it needs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, riku.voipio@iki.fi, blauwirbel@gmail.com, Anthony Liguori , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= Include: - for g_malloc0() - 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 --- 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 +#include #include "qapi/qmp-core.h" static QTAILQ_HEAD(QmpCommandList, QmpCommand) qmp_commands = -- 1.7.11.4