From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:59020 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751916Ab2DBVbZ (ORCPT ); Mon, 2 Apr 2012 17:31:25 -0400 Message-ID: <4F7A1AA6.8000702@suse.cz> Date: Mon, 02 Apr 2012 23:31:18 +0200 From: Michal Marek MIME-Version: 1.0 Subject: Re: [PATCH] Fix build failure on cygwin. References: <1333375535-6589-1-git-send-email-andree@andree.sk> In-Reply-To: <1333375535-6589-1-git-send-email-andree@andree.sk> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Andrej Krutak Cc: linux-kbuild@vger.kernel.org, Jon Loeliger Adding Jon Loeliger (dtc maintainer) to CC. Dne 2.4.2012 16:05, Andrej Krutak napsal(a): > The _B macro is defined by cygwin in ctype.h. > Move the inclusion to avoid build failure. But nothing prevents the other system headers from including earlier :-(. A more robust fix would be to rename the macro to something that does not clash (fdt_b??). But that's up to Jon. Michal > > Signed-off-by: Andrej Krutak > --- > scripts/dtc/dtc.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/scripts/dtc/dtc.h b/scripts/dtc/dtc.h > index f37c97e..7aa3cc6 100644 > --- a/scripts/dtc/dtc.h > +++ b/scripts/dtc/dtc.h > @@ -27,13 +27,13 @@ > #include > #include > #include > -#include > #include > #include > > #include > #include > > +#include > #include "util.h" > > #ifdef DEBUG