[PATCH] daemon.c and path.enter_repo(): revamp path validation.
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index 878c359704dca8591755a68ff5a826503c017b3e..619f25acf50154a2b1f4e5e2522b89416d1286f1 100644 (file)
--- a/git.c
+++ b/git.c
 # define PATH_MAX 4096
 #endif
 
+#ifdef NO_SETENV
+extern int gitsetenv(char *name, char *value, int overwrite);
+#endif
+
 static const char git_usage[] =
        "Usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--help] COMMAND [ ARGS ]";