Index: src/mongo/util/time_support.cpp
--- src/mongo/util/time_support.cpp.orig
+++ src/mongo/util/time_support.cpp
@@ -888,7 +888,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(__OpenBSD__) || defined(__EMSCRIPTEN__)
     struct timespec tp;
     int ret = clock_getres(CLOCK_REALTIME, &tp);
     if (ret == -1) {
