summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-14 12:37:21 -0800
committerJunio C Hamano <gitster@pobox.com>2015-01-14 12:37:21 -0800
commit63a0e83ea6ea1e9d46bfd9e8c1298c6ca9f077ee (patch)
treed94bc0e2cfca25409edee708d3e99f2f2d2b91c7 /git-compat-util.h
parent09deda3746a0c726a79a6e2db4fd8d864aa08e51 (diff)
parent88e011814b9498ee1170d82462a19f72a86f9d82 (diff)
downloadgit-63a0e83ea6ea1e9d46bfd9e8c1298c6ca9f077ee.tar.gz
Merge branch 'rh/autoconf-rhel3'
Build update for older RHEL. * rh/autoconf-rhel3: configure.ac: check for HMAC_CTX_cleanup configure.ac: check for clock_gettime and CLOCK_MONOTONIC configure.ac: check 'tv_nsec' field in 'struct stat'
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index dcecd857f1..eb9b0ff328 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -218,6 +218,9 @@ extern char *gitbasename(char *);
#include <openssl/err.h>
#undef MAC_OS_X_VERSION_MIN_REQUIRED
#undef __AVAILABILITY_MACROS_USES_AVAILABILITY
+#ifdef NO_HMAC_CTX_CLEANUP
+#define HMAC_CTX_cleanup HMAC_cleanup
+#endif
#endif
/* On most systems <netdb.h> would have given us this, but