changeset 1264:73f318cc8800

Use HAVE_FILIOH instead of ifdef __OpenBSD__
author kurt
date Tue, 02 Jun 2009 11:13:14 -0400
parents fd13f95594eb
children e241cd4fa446
files make/java/hpi/native/Makefile src/solaris/hpi/native_threads/src/sys_api_td.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/make/java/hpi/native/Makefile	Sat May 30 22:50:25 2009 -0700
+++ b/make/java/hpi/native/Makefile	Tue Jun 02 11:13:14 2009 -0400
@@ -88,7 +88,9 @@
 OTHER_CPPFLAGS += -DHAVE_GETHRVTIME
 endif
 
+ifneq ($(OS_VENDOR), OpenBSD)
 HAVE_FILIOH=true
+endif
 ifeq ($(HAVE_FILIOH),true)
 OTHER_CPPFLAGS += -DHAVE_FILIOH
 endif
--- a/src/solaris/hpi/native_threads/src/sys_api_td.c	Sat May 30 22:50:25 2009 -0700
+++ b/src/solaris/hpi/native_threads/src/sys_api_td.c	Tue Jun 02 11:13:14 2009 -0400
@@ -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>