13 lines
645 B
Plaintext
13 lines
645 B
Plaintext
$OpenBSD: patch-trickle-overload_c,v 1.1 2003/12/14 23:27:44 naddy Exp $
|
|
--- trickle-overload.c.orig 2003-12-14 21:34:01.000000000 +0100
|
|
+++ trickle-overload.c 2003-12-14 21:34:41.000000000 +0100
|
|
@@ -473,7 +473,7 @@ select(int nfds, fd_set *rfds, fd_set *w
|
|
#define POLL_WRMASK (POLLOUT | POLLWRNORM | POLLWRBAND)
|
|
#define POLL_RDMASK (POLLIN | /* POLLNORM | */ POLLPRI | POLLRDNORM | POLLRDBAND)
|
|
|
|
-#if defined(__linux__) || (defined(__svr4__) && defined(__sun__))
|
|
+#if defined(__linux__) || (defined(__svr4__) && defined(__sun__)) || defined(__OpenBSD__)
|
|
int
|
|
poll(struct pollfd *fds, nfds_t nfds, int __timeout)
|
|
#elif defined(__FreeBSD__)
|