From: Junio C Hamano Date: Fri, 30 Jun 2006 18:30:29 +0000 (-0700) Subject: upload-pack.c: includes on OpenBSD 3.8 X-Git-Tag: v1.4.1~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e3a56298135ed4cce302e7da792793d3e5623c29;p=git.git upload-pack.c: includes on OpenBSD 3.8 Merlyn reports that on OpenBSD 3.8 includes and having our custom ctype (done in git-compat-util.h which is included via cache.h) makes upload-pack.c uncompilable. Try to work it around by including the system headers first. Signed-off-by: Junio C Hamano --- diff --git a/upload-pack.c b/upload-pack.c index 2b70c3dcb..b18eb9ba0 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 "object.h" #include "commit.h" #include "exec_cmd.h" -#include -#include -#include static const char upload_pack_usage[] = "git-upload-pack [--strict] [--timeout=nn] ";