$OpenBSD$
--- platforms/unix/vm/sqUnixVMProfile.c.orig	Sat Apr 29 15:21:23 2017
+++ platforms/unix/vm/sqUnixVMProfile.c	Sat Apr 29 15:21:43 2017
@@ -173,6 +173,8 @@ pcbufferSIGPROFhandler(int sig, siginfo_t *info, ucont
 # define _PC_IN_UCONTEXT uc_mcontext.arm_pc
 #elif __FreeBSD__ && __i386__
 # define _PC_IN_UCONTEXT uc_mcontext.mc_eip
+#elif __OpenBSD__ && __i386__
+# define _PC_IN_UCONTEXT sc_eip
 #elif __OpenBSD__
 # define _PC_IN_UCONTEXT sc_rip
 #else
