Received: from eggs.gnu.org ([140.186.70.92]:46235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgiC6-0003ps-Ks for qemu-devel@nongnu.org; Tue, 12 Jul 2011 15:00:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgiBz-0002yy-52 for qemu-devel@nongnu.org; Tue, 12 Jul 2011 15:00:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgiBx-0002yT-T3 for qemu-devel@nongnu.org; Tue, 12 Jul 2011 15:00:22 -0400 From: Luiz Capitulino Date: Tue, 12 Jul 2011 16:00:04 -0300 Message-Id: <1310497206-29978-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2]: Fix build issue with error.h 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 A .c file including error.h and not including qemu-common.h will break the build, because error.h uses a macro defined in qemu-common.h. The simple and obvious fix would be to change error.h to include qemu-common.h. But this is overkill, so this series does some splitting in qemu-common.h and changes error.h to include only what it really needs. Please, refer to the patches for more details. v2 o move compiler related macros from qemu-common.h to compiler.h compiler.h | 38 ++++++++++++++++++++++++++++++++++++++ error.h | 1 + qemu-common.h | 25 +------------------------ 3 files changed, 40 insertions(+), 24 deletions(-)