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