summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-16 05:47:21 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-16 05:47:21 (GMT)
commitd0c2449f7805ee35b97c5dcb22845f157da1cea4 (patch)
tree3c13396d15949269f4aea75422b4eb2bc77b1342 /builtin.h
parent17fd965d215060a10911db99c2dacf9c3554787a (diff)
downloadgit-d0c2449f7805ee35b97c5dcb22845f157da1cea4.zip
git-d0c2449f7805ee35b97c5dcb22845f157da1cea4.tar.gz
git-d0c2449f7805ee35b97c5dcb22845f157da1cea4.tar.bz2
Define fallback PATH_MAX on systems that do not define one in <limits.h>
Notably on GNU/Hurd, as reported by Gerrit Pape. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin.h b/builtin.h
index 25431d7..398eafb 100644
--- a/builtin.h
+++ b/builtin.h
@@ -1,8 +1,7 @@
#ifndef BUILTIN_H
#define BUILTIN_H
-#include <stdio.h>
-#include <limits.h>
+#include "git-compat-util.h"
extern const char git_version_string[];
extern const char git_usage_string[];