$OpenBSD: patch-jdk_src_solaris_hpi_native_threads_include_threads_md_h,v 1.1 2013/03/19 19:26:45 kurt Exp $
--- jdk/src/solaris/hpi/native_threads/include/threads_md.h.orig	Sun Mar 10 12:10:32 2013
+++ jdk/src/solaris/hpi/native_threads/include/threads_md.h	Sun Mar 10 12:11:55 2013
@@ -174,7 +174,7 @@ struct sys_thread {
     struct sys_thread *nextBlocked;
 #ifdef USE_PTHREADS
     int suspend_count;
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
     sem_t sem_suspended;
     sem_t sem_ready_to_suspend;
     sem_t sem_selfsuspend;
