From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh0ME-0008Ap-JL for qemu-devel@nongnu.org; Wed, 13 Jul 2011 10:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh0MD-0003pT-21 for qemu-devel@nongnu.org; Wed, 13 Jul 2011 10:24:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh0MC-0003pG-EC for qemu-devel@nongnu.org; Wed, 13 Jul 2011 10:24:08 -0400 From: Luiz Capitulino Date: Wed, 13 Jul 2011 11:23:31 -0300 Message-Id: <1310567013-11058-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/3]: 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. v3 o Drop license text from compiler.h v2 o Move compiler related macros from qemu-common.h to compiler.h compiler.h | 31 +++++++++++++++++++++++++++++++ error.h | 1 + qemu-common.h | 25 +------------------------ 3 files changed, 33 insertions(+), 24 deletions(-)