$OpenBSD: patch-src_bsd_hpi_green_threads_src_iomgr_c,v 1.1 2003/12/14 22:51:21 naddy Exp $
--- src/bsd/hpi/green_threads/src/iomgr.c.orig	2003-12-14 22:39:16.000000000 +0100
+++ src/bsd/hpi/green_threads/src/iomgr.c	2003-12-14 22:39:54.000000000 +0100
@@ -1804,10 +1804,8 @@ putmsg(int fd, const struct strbuf *ctlp
 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
