aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support/time_posix.cc
diff options
context:
space:
mode:
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) {
/*