From: Alex Riesen Date: Wed, 16 Dec 2009 14:20:16 GMT Subject: Re: Git on QNX Message-ID: <81b0412b0912160620v1556fd12i17897269f4101128@mail.gmail.com> In-Reply-To: <905315640912151413g10ee5befh58fbd171237e7659@mail.gmail.com> On Tue, Dec 15, 2009 at 23:13, Tarmigan wrote: > On Tue, Dec 15, 2009 at 1:42 PM, Junio C Hamano wrote: >> Tarmigan writes: >>> diff --git a/git-compat-util.h b/git-compat-util.h >>> index 5c59687..857e938 100644 >>> --- a/git-compat-util.h >>> +++ b/git-compat-util.h >>> @@ -79,6 +84,7 @@ >>>  #include >>>  #include >>>  #include >>> +#include >>>  #include >>>  #include >>>  #include >> >> Other hunks are QNX specific enough but this hunk is worrisome; you cannot >> tell how you are hurting other platforms with this change.  Can you tell >> declarations of which functions are missing on QNX without this change? > > strcasecmp() > http://www.opengroup.org/onlinepubs/000095399/functions/strcasecmp.html Just for completeness: http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/s/strcasecmp.html http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/s/strcmpi.html > I agree that this change could affect other platforms and they've > gotten along fine without it so far.  I'm surprised no others have > needed it.  Would it be better wrapped in a #ifdef? If you put the ifdef in git-compat-util.h