summaryrefslogtreecommitdiff
path: root/compat/regex/regex.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-06-27 09:56:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-27 09:56:47 -0700
commit2380db5b28aff110cd8f6ef2bb65dd5ab49303b2 (patch)
tree843f9228ca38d314c06cdc075f8e18893800ee13 /compat/regex/regex.c
parentMerge branch 'vs/prompt-avoid-unset-variable' (diff)
parentregex: fix a SIZE_MAX macro redefinition warning (diff)
downloadtgif-2380db5b28aff110cd8f6ef2bb65dd5ab49303b2.tar.xz
Merge branch 'rj/compat-regex-size-max-fix'
A compilation fix. * rj/compat-regex-size-max-fix: regex: fix a SIZE_MAX macro redefinition warning
Diffstat (limited to 'compat/regex/regex.c')
-rw-r--r--compat/regex/regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/regex/regex.c b/compat/regex/regex.c
index 6aaae00327..5cb23e5d59 100644
--- a/compat/regex/regex.c
+++ b/compat/regex/regex.c
@@ -60,6 +60,7 @@
GNU regex allows. Include it before <regex.h>, which correctly
#undefs RE_DUP_MAX and sets it to the right value. */
#include <limits.h>
+#include <stdint.h>
#ifdef GAWK
#undef alloca