From: Jeff King Date: Mon, 11 Feb 2013 21:06:21 GMT Subject: Re: [PATCH] Include xmlparse.h instead of expat.h on QNX Message-ID: <20130211210621.GC32740@sigill.intra.peff.net> In-Reply-To: <1360616395-18912-1-git-send-email-kraai@ftbfs.org> On Mon, Feb 11, 2013 at 12:59:55PM -0800, Matt Kraai wrote: > From: Matt Kraai > > QNX 6.3.2 through 6.5.0 include Expat 1.1, which provides xmlparse.h > instead of expat.h, so include the former on QNX systems. So it is not just QNX, but rather older versions of expat? > diff --git a/http-push.c b/http-push.c > index 9923441..55c575e 100644 > --- a/http-push.c > +++ b/http-push.c > @@ -11,7 +11,11 @@ > #include "list-objects.h" > #include "sigchain.h" > > +#ifndef __QNX__ > #include > +#else > +#include > +#endif If that is the case, should this #ifdef look for EXPAT_NEEDS_XMLPARSE_H, and that macro triggered externally? Either in the QNX section of the Makefile, or potentially by an autoconf macro? -Peff