Index: Source/JavaScriptCore/runtime/MathCommon.cpp
--- Source/JavaScriptCore/runtime/MathCommon.cpp.orig
+++ Source/JavaScriptCore/runtime/MathCommon.cpp
@@ -604,7 +604,7 @@ JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f64_nearest, double,
     return std::nearbyint(operand);
 }
 
-#if (OS(LINUX) && !defined(__GLIBC__)) || OS(HAIKU)
+#if (OS(LINUX) && !defined(__GLIBC__)) || OS(HAIKU) || OS(OPENBSD)
 static inline float roundevenf(float operand)
 {
     float rounded = roundf(operand);
