Index: rts/System/Platform/Linux/CrashHandler.cpp
--- rts/System/Platform/Linux/CrashHandler.cpp.orig
+++ rts/System/Platform/Linux/CrashHandler.cpp
@@ -709,7 +709,7 @@ namespace CrashHandler
 
 		unw_cursor_t cursor;
 
-#if (defined(__arm__) || defined(__APPLE__))
+#if (defined(__arm__) || defined(__APPLE__)) || defined(__OpenBSD__)
 		// ucontext_t and unw_context_t are not aliases here
 		unw_context_t thisctx;
 		unw_getcontext(&thisctx);
@@ -742,7 +742,7 @@ namespace CrashHandler
 		}
 		*/
 
-#if (defined(__arm__) || defined(__APPLE__))
+#if (defined(__arm__) || defined(__APPLE__) || defined(__OpenBSD__))
 		const int err = unw_init_local(&cursor, &thisctx);
 #else
 		const int err = unw_init_local(&cursor, uc);
