poll() prototype changed; ok jolan@
This commit is contained in:
parent
cba26e8fcf
commit
6637437daa
12
net/trickle/patches/patch-trickle-overload_c
Normal file
12
net/trickle/patches/patch-trickle-overload_c
Normal file
@ -0,0 +1,12 @@
|
||||
$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__)
|
Loading…
Reference in New Issue
Block a user