$OpenBSD$ Index: src/mongo/util/time_support.cpp --- src/mongo/util/time_support.cpp.orig +++ src/mongo/util/time_support.cpp @@ -952,7 +952,7 @@ class MachPort { (private) // Find minimum timer resolution of OS Nanoseconds getMinimumTimerResolution() { Nanoseconds minTimerResolution; -#if defined(__linux__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) || defined(__OpenBSD__) struct timespec tp; clock_getres(CLOCK_REALTIME, &tp); minTimerResolution = Nanoseconds{tp.tv_nsec};