$OpenBSD: patch-jdk_src_solaris_hpi_native_threads_src_sys_api_td_c,v 1.1 2013/02/01 15:34:35 kurt Exp $
--- jdk/src/solaris/hpi/native_threads/src/sys_api_td.c.orig	Tue Jan 29 09:01:59 2013
+++ jdk/src/solaris/hpi/native_threads/src/sys_api_td.c	Tue Jan 29 09:18:50 2013
@@ -39,10 +39,6 @@
 #include <sys/ioctl.h>
 #endif
 
-#ifdef __OpenBSD__
-#include <sys/ioctl.h>
-#endif
-
 #include <sys/socket.h>
 #include <setjmp.h>
 #include <signal.h>
@@ -58,10 +54,6 @@
 #include "mutex_md.h"
 
 #if defined(__solaris__) && defined(NO_INTERRUPTIBLE_IO)
-#error If there was no policy change, this could be a makefile error.
-#endif
-
-#if defined(_ALLBSD_SOURCE) && defined(NO_INTERRUPTIBLE_IO)
 #error If there was no policy change, this could be a makefile error.
 #endif
 
