]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
sequencer: truncate labels to accommodate loose refs
[thirdparty/git.git] / git-compat-util.h
index 5b2b99c17c564c5a5904442416e5d7d13f7b0568..e1f7e15d9e6679ef4d171fed0dffd08cb0fff126 100644 (file)
@@ -422,6 +422,10 @@ char *gitdirname(char *);
 #define PATH_MAX 4096
 #endif
 
+#ifndef NAME_MAX
+#define NAME_MAX 255
+#endif
+
 typedef uintmax_t timestamp_t;
 #define PRItime PRIuMAX
 #define parse_timestamp strtoumax