summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc046a7)
raw | patch | inline | side by side (parent: fc046a7)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 30 Jun 2006 18:30:29 +0000 (11:30 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 1 Jul 2006 00:25:20 +0000 (17:25 -0700) |
Merlyn reports that <sys/poll.h> on OpenBSD 3.8 includes <ctype.h>
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 <junkio@cox.net>
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 <junkio@cox.net>
upload-pack.c | patch | blob | history |
diff --git a/upload-pack.c b/upload-pack.c
index 2b70c3dcb4e3b1e73d7d5a088ae73de17540b6b7..b18eb9ba0dbe8b5020aaaa698d98a4d1b76aa49c 100644 (file)
--- a/upload-pack.c
+++ b/upload-pack.c
+#include <signal.h>
+#include <sys/wait.h>
+#include <sys/poll.h>
#include "cache.h"
#include "refs.h"
#include "pkt-line.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>";