diff --git a/git-compat-util.h b/git-compat-util.h
index 105ac28f9766cb8800fcf6071fd94ed0e3cdf90a..9863cf671f7522f73ea5a88af0d1234488c73396 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
extern size_t gitstrlcpy(char *, const char *, size_t);
#endif
+#ifdef NO_STRTOUMAX
+#define strtoumax gitstrtoumax
+extern uintmax_t gitstrtoumax(const char *, char **, int);
+#endif
+
extern void release_pack_memory(size_t);
static inline char* xstrdup(const char *str)