merlyn@stonehenge.com (Randal L. Schwartz) writes: >>>>>> "Junio" == Junio C Hamano <junkio@cox.net> 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 <sys/poll.h> 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 <signal.h> +#include <sys/wait.h> +#include <sys/poll.h> #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 <signal.h> -#include <sys/poll.h> -#include <sys/wait.h> static const char upload_pack_usage[] = "git-upload-pack [--strict] [--timeout=nn] <dir>"; - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sat Jul 01 03:38:43 2006
This archive was generated by hypermail 2.1.8 : 2006-07-01 03:39:12 EST