Received: from eggs.gnu.org ([140.186.70.92]:46246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgiC8-0003qI-Ki for qemu-devel@nongnu.org; Tue, 12 Jul 2011 15:00:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgiBz-0002z9-OD for qemu-devel@nongnu.org; Tue, 12 Jul 2011 15:00:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgiBy-0002ya-VC for qemu-devel@nongnu.org; Tue, 12 Jul 2011 15:00:23 -0400 From: Luiz Capitulino Date: Tue, 12 Jul 2011 16:00:06 -0300 Message-Id: <1310497206-29978-3-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1310497206-29978-1-git-send-email-lcapitulino@redhat.com> References: <1310497206-29978-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, mdroth@linux.vnet.ibm.com 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 /** -- 1.7.6.134.gcf13f