Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-10-08 03:19:58 +0300
committerJunio C Hamano <gitster@pobox.com>2022-10-08 03:19:59 +0300
commit410a0e520dcc91d13f77fd812f068161859883fc (patch)
tree0e4e7529bb2c344bfccaef6396f5c71d2d04519f /git-compat-util.h
parent3dcec76d9df911ed8321007b1d197c1a206dc164 (diff)
parent1819ad327b7a1f19540a819813b70a0e8a7f798f (diff)
Merge branch 'ds/use-platform-regex-on-macos'
With a bit of header twiddling, use the native regexp library on macOS instead of the compat/ one. * ds/use-platform-regex-on-macos: grep: fix multibyte regex handling under macOS
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index b90b64718e..bac663353d 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -222,6 +222,7 @@ struct strbuf;
#endif
#include <errno.h>
#include <limits.h>
+#include <locale.h>
#ifdef NEEDS_SYS_PARAM_H
#include <sys/param.h>
#endif