about summary refs log tree commit diff
path: root/third_party/git/compat/regex/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/compat/regex/regex.c')
-rw-r--r--third_party/git/compat/regex/regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/git/compat/regex/regex.c b/third_party/git/compat/regex/regex.c
index f3e03a9eab..e6f4a5d177 100644
--- a/third_party/git/compat/regex/regex.c
+++ b/third_party/git/compat/regex/regex.c
@@ -60,6 +60,7 @@
    #undefs RE_DUP_MAX and sets it to the right value.  */
 #include <limits.h>
 #include <stdint.h>
+#include <stdlib.h>
 
 #ifdef GAWK
 #undef alloca