summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-compat-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 4185b12..ead0ede 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -110,4 +110,7 @@ static inline int sane_case(int x, int high)
return x;
}
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
#endif