$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_iomgr_c,v 1.2 2007/07/18 14:19:27 kurt Exp $
--- j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c.orig	Wed Jul 18 09:36:12 2007
+++ j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c	Wed Jul 18 09:36:14 2007
@@ -1830,10 +1830,8 @@ putmsg(int fd, const struct strbuf *ctlptr,
 int
 #if defined(__FreeBSD__)
 poll(struct pollfd *fds, unsigned int nfds, int timeout)
-#elif defined(__NetBSD__)
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
 poll(struct pollfd *fds, nfds_t nfds, int timeout)
-#elif defined(__OpenBSD__)
-poll(struct pollfd *fds, int nfds, int timeout)
 #else
 poll(struct pollfd *fds, unsigned long nfds, int timeout)
 #endif
