From: Ian Jackson Subject: Re: [PATCH 3/3] xen: Add stdbool.h workaround for BSD. Date: Mon, 19 Aug 2013 14:48:39 +0100 Message-ID: <21010.8759.61363.665860@mariner.uk.xensource.com> References: <1376573107-27249-1-git-send-email-tim@xen.org> <1376573107-27249-4-git-send-email-tim@xen.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1376573107-27249-4-git-send-email-tim@xen.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: keir@xen.org, ian.campbell@citrix.com, chegger@amazon.de, xen-devel@lists.xen.org, prlw1@cam.ac.uk, stefano.stabellini@citrix.com, jbeulich@suse.com List-Id: xen-devel@lists.xenproject.org Tim Deegan writes ("[PATCH 3/3] xen: Add stdbool.h workaround for BSD."): > On *BSD, stdbool.h lives in /usr/include, but we don't want to have > that on the search path in case we pick up any headers from the build > host's C libraries. > > Copy the equivalent hack already in place for stdarg.h: on all > supported compilers the contents of stdbool.h are trivial, so just > supply the things we need in a xen/stdbool.h header. Acked-by: Ian Jackson The only alternative is to try to reconstruct the compiler-specific include directory using gcc --print-libgcc-file-name and seddery. Ian.