summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:41 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:41 -0700
commitdd716840f0635beeb3bd743ddc4015519ea1edc5 (patch)
treeb520e491da802b4c42cced60a826e02dfe012c53 /git-compat-util.h
parent49fb13bef188fdba6fc4eb2266f79808168e4ebe (diff)
parentf978a99faf5e657c6292d66aa4c237c934c8f883 (diff)
downloadgit-dd716840f0635beeb3bd743ddc4015519ea1edc5.tar.gz
Merge branch 'ss/compat-default-source-for-newer-gnu'
* ss/compat-default-source-for-newer-gnu: compat-util: add _DEFAULT_SOURCE define
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 4e7e3f8726..08a9ee2970 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -82,6 +82,7 @@
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _BSD_SOURCE 1
+#define _DEFAULT_SOURCE 1
#define _NETBSD_SOURCE 1
#define _SGI_SOURCE 1