Signed-off-by: Darren Tucker <dtucker@xxxxxxxxxxx> --- git-compat-util.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/git-compat-util.h b/git-compat-util.h index aa221eba1b..2bc468fbd0 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -342,6 +342,10 @@ typedef uintmax_t timestamp_t; #define TIME_MAX UINTMAX_MAX #define TIME_MIN 0 +#if !defined(SCNuMAX) && defined(SCNu64) +#define SCNuMAX SCNu64 +#endif + #ifndef PATH_SEP #define PATH_SEP ':' #endif -- 2.21.3