diff options
author | 2017-10-12 08:27:14 +0200 | |
---|---|---|
committer | 2017-10-12 13:50:38 -0700 | |
commit | fbf8128da8ea1dd55729c957e915afedb8754f0d (patch) | |
tree | ea210d23f7147f849e6d807a2c827006ba549bea /src/core/lib/support | |
parent | 1ddeeb9b9e7385d85642c7f9ac3f50a6ddcef910 (diff) |
Add OpenBSD support
Diffstat (limited to 'src/core/lib/support')
-rw-r--r-- | src/core/lib/support/time_posix.cc | 2 |
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) { /* |