Received: from eggs.gnu.org ([208.118.235.92]:47069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQrDt-0003XR-Hz for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQrDp-0006Hs-VQ for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQrDp-0006Gk-Mw for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:33 -0400 From: Eduardo Habkost Date: Wed, 24 Oct 2012 01:02:00 -0200 Message-Id: <1351047728-20360-17-git-send-email-ehabkost@redhat.com> In-Reply-To: <1351047728-20360-1-git-send-email-ehabkost@redhat.com> References: <1351047728-20360-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 16/24] qapi-types.h: don't include qemu-common.h 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?= From: Igor Mammedov needed to prevent build breakage when CPU becomes a child of DeviceState Signed-off-by: Igor Mammedov [ehabkost: include too] Signed-off-by: Eduardo Habkost --- Yes, there is "changelog" data before the "---" mark, but I believe that in this case they are important to indicate authorship and the scope of the Signed-off-by lines (so they need to get into the git commit message). Changes v1 (from Igor) -> v2 (from Eduardo): - Include too Changes v2 -> v3 (from Eduardo): - Only commit description changes --- scripts/qapi-types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py index 1b84834..6bc2391 100644 --- a/scripts/qapi-types.py +++ b/scripts/qapi-types.py @@ -273,7 +273,8 @@ fdecl.write(mcgen(''' #ifndef %(guard)s #define %(guard)s -#include "qemu-common.h" +#include +#include ''', guard=guardname(h_file))) -- 1.7.11.7