From: Junio C Hamano Date: Fri, 30 Jun 2006 17:38:06 GMT Subject: Re: fc046a75d539a78e6b2c16534c4078617a69a327 fails on OpenBSD 3.8 Message-ID: <7vk66yilxd.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <86sllmy3ia.fsf@blue.stonehenge.com> merlyn@stonehenge.com (Randal L. Schwartz) writes: >>>>>> "Junio" == Junio C Hamano writes: >... >>> In file included from /usr/include/sys/poll.h:54, >>> from upload-pack.c:9: >>> /usr/include/ctype.h:91:1: unterminated #if >>> /usr/include/ctype.h:40:1: unterminated #ifndef > > Junio> Crap. Including pollutes your namespace with ctype > Junio> macros? I should stop imitating others -- not my style. Sorry. Would this work for you? diff --git a/upload-pack.c b/upload-pack.c index 2b70c3d..b18eb9b 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -1,3 +1,6 @@ +#include +#include +#include #include "cache.h" #include "refs.h" #include "pkt-line.h" @@ -5,9 +8,6 @@ #include "tag.h" #include "object.h" #include "commit.h" #include "exec_cmd.h" -#include -#include -#include static const char upload_pack_usage[] = "git-upload-pack [--strict] [--timeout=nn] ";