$OpenBSD: patch-apps_openmw_crashcatcher_cpp,v 1.1.1.1 2015/12/27 21:55:24 pascal Exp $
--- apps/openmw/crashcatcher.cpp.orig	Sun Nov 22 19:54:17 2015
+++ apps/openmw/crashcatcher.cpp	Sat Dec 26 18:01:49 2015
@@ -5,7 +5,9 @@
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <sys/param.h>
+#ifndef __OpenBSD__
 #include <sys/ucontext.h>
+#endif
 #include <sys/utsname.h>
 #include <string.h>
 #include <errno.h>
@@ -24,7 +26,7 @@
 #ifndef PR_SET_PTRACER
 #define PR_SET_PTRACER 0x59616d61
 #endif
-#elif defined (__APPLE__)
+#elif defined (__APPLE__) || defined(__OpenBSD__)
 #include <signal.h>
 #endif
 
