From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJqsf-0001tH-Tl for qemu-devel@nongnu.org; Thu, 04 Oct 2012 15:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJqse-0003j9-12 for qemu-devel@nongnu.org; Thu, 04 Oct 2012 15:14:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJqsd-0003iN-OS for qemu-devel@nongnu.org; Thu, 04 Oct 2012 15:14:43 -0400 From: Eduardo Habkost Date: Thu, 4 Oct 2012 16:15:23 -0300 Message-Id: <1349378133-25644-4-git-send-email-ehabkost@redhat.com> In-Reply-To: <1349378133-25644-1-git-send-email-ehabkost@redhat.com> References: <1349378133-25644-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [RFC 03/13] qapi-types.h doesn't really need to include qemu-common.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Anthony Liguori , Paolo Bonzini From: Igor Mammedov needed to prevent build breakage when CPU becomes a child of DeviceState [ehabkost: include too] Signed-off-by: Igor Mammedov Signed-off-by: Eduardo Habkost --- 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 49ef569..6e0e6ba 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.4