From patchwork Thu Nov 22 17:27:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 201094 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DC6412C008C for ; Fri, 23 Nov 2012 04:27:42 +1100 (EST) Received: from localhost ([::1]:57500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbaYv-0000TK-23 for incoming@patchwork.ozlabs.org; Thu, 22 Nov 2012 12:27:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbaXd-0006Cw-N6 for qemu-devel@nongnu.org; Thu, 22 Nov 2012 12:26:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbaXY-0007IK-Jf for qemu-devel@nongnu.org; Thu, 22 Nov 2012 12:26:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbaXY-0007Hu-Bj for qemu-devel@nongnu.org; Thu, 22 Nov 2012 12:26:16 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAMHQFLT005432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 22 Nov 2012 12:26:15 -0500 Received: from blackpad.lan.raisama.net (vpn1-5-104.gru2.redhat.com [10.97.5.104]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qAMHQEf6017608; Thu, 22 Nov 2012 12:26:15 -0500 Received: by blackpad.lan.raisama.net (Postfix, from userid 500) id B3C2D203020; Thu, 22 Nov 2012 15:27:39 -0200 (BRST) From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Thu, 22 Nov 2012 15:27:27 -0200 Message-Id: <1353605251-22218-5-git-send-email-ehabkost@redhat.com> In-Reply-To: <1353605251-22218-1-git-send-email-ehabkost@redhat.com> References: <1353605251-22218-1-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id qAMHQFLT005432 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [Qemu-devel] [PATCH 4/8] qapi/qmp-registry.c: Include headers it needs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 Signed-off-by: Andreas Färber --- 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 =