aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support
diff options
context:
space:
mode:
authorGravatar Frank Groeneveld <frank@ivaldi.nl>2017-10-12 08:27:14 +0200
committerGravatar Mehrdad Afshari <mmx@google.com>2017-10-12 13:50:38 -0700
commitfbf8128da8ea1dd55729c957e915afedb8754f0d (patch)
treeea210d23f7147f849e6d807a2c827006ba549bea /src/core/lib/support
parent1ddeeb9b9e7385d85642c7f9ac3f50a6ddcef910 (diff)
Add OpenBSD support
Diffstat (limited to 'src/core/lib/support')
-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) {
/*