summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-01-14 12:37:21 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-01-14 12:37:21 -0800
commit63a0e83ea6ea1e9d46bfd9e8c1298c6ca9f077ee (patch)
treed94bc0e2cfca25409edee708d3e99f2f2d2b91c7 /trace.c
parentMerge branch 'ak/fewer-includes' (diff)
parentconfigure.ac: check for HMAC_CTX_cleanup (diff)
downloadtgif-63a0e83ea6ea1e9d46bfd9e8c1298c6ca9f077ee.tar.xz
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 'trace.c')
-rw-r--r--trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace.c b/trace.c
index f6f9f3a367..1dc5c7c912 100644
--- a/trace.c
+++ b/trace.c
@@ -322,7 +322,7 @@ int trace_want(struct trace_key *key)
return !!get_trace_fd(key);
}
-#ifdef HAVE_CLOCK_GETTIME
+#if defined(HAVE_CLOCK_GETTIME) && defined(HAVE_CLOCK_MONOTONIC)
static inline uint64_t highres_nanos(void)
{