aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support/time_posix.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-10-15 22:22:27 +0000
committerGravatar Craig Tiller <ctiller@google.com>2017-10-15 22:22:27 +0000
commit1406f9c524029b5725dfc578551366e54c6494fb (patch)
treed9cfbd7df1cdcc6655717837749704724b25dc4b /src/core/lib/support/time_posix.cc
parentad059f70f8bccee3ae1a0ef1568c8d89c0c1004d (diff)
parent742ca098191c69ff23bf76b47989f21809c09cc3 (diff)
Merge branch 'bs2' into epexinf
Diffstat (limited to 'src/core/lib/support/time_posix.cc')
-rw-r--r--src/core/lib/support/time_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/support/time_posix.cc b/src/core/lib/support/time_posix.cc
index 3267ea6b54..3f8a9094fd 100644
--- a/src/core/lib/support/time_posix.cc
+++ b/src/core/lib/support/time_posix.cc
@@ -42,7 +42,7 @@ static struct timespec timespec_from_gpr(gpr_timespec gts) {
return rv;
}
-#if _POSIX_TIMERS > 0
+#if _POSIX_TIMERS > 0 || defined(__OpenBSD__)
static gpr_timespec gpr_from_timespec(struct timespec ts,
gpr_clock_type clock_type) {
/*