Index: base/time_posix.cc |
=================================================================== |
--- base/time_posix.cc (revision 17958) |
+++ base/time_posix.cc (working copy) |
@@ -157,7 +157,8 @@ |
// reported in nanoseconds is enough to last nearly 585 years. |
#elif defined(OS_POSIX) && \ |
- defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0 |
+ ((defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0) || \ |
+ defined(OS_OPENBSD)) |
struct timespec ts; |
if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) { |