From patchwork Thu Jul 14 21:28:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 104728 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CC057B6F00 for ; Fri, 15 Jul 2011 07:43:53 +1000 (EST) Received: from localhost ([::1]:36393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhThG-0008WV-DO for incoming@patchwork.ozlabs.org; Thu, 14 Jul 2011 17:43:50 -0400 Received: from eggs.gnu.org ([140.186.70.92]:54287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhTSS-0005lo-3I for qemu-devel@nongnu.org; Thu, 14 Jul 2011 17:28:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhTSQ-0006Zs-9i for qemu-devel@nongnu.org; Thu, 14 Jul 2011 17:28:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhTSP-0006Zl-PF for qemu-devel@nongnu.org; Thu, 14 Jul 2011 17:28:30 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6ELSEEY017556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 14 Jul 2011 17:28:14 -0400 Received: from localhost (ovpn-113-111.phx2.redhat.com [10.3.113.111]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p6ELSDB6000992; Thu, 14 Jul 2011 17:28:13 -0400 From: Luiz Capitulino To: qemu-devel@nongnu.org Date: Thu, 14 Jul 2011 18:28:06 -0300 Message-Id: <1310678886-13985-3-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1310678886-13985-1-git-send-email-lcapitulino@redhat.com> References: <1310678886-13985-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: mdroth@linux.vnet.ibm.com, peter.maydell@linaro.org Subject: [Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included 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 From: Luiz Capitulino Commit e4ea5e2d0e0e4c5188ab45b66f3195062ae059dc added the use of the macro GCC_FMT_ATTR to error.h, however compiler.h is not included by error.h This will cause a build error when files including error.h don't include qemu-common.h (or compiler.h). Not an issue today because the only file including it is json-parser.h and it does include qemu-common.h, but let's get it fixed. Signed-off-by: Luiz Capitulino --- error.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/error.h b/error.h index 0f92a6f..6361f40 100644 --- a/error.h +++ b/error.h @@ -12,6 +12,7 @@ #ifndef ERROR_H #define ERROR_H +#include "compiler.h" #include /**