13 lines
568 B
Text
13 lines
568 B
Text
$NetBSD: patch-aa,v 1.2 2006/03/23 15:55:53 joerg Exp $
|
|
|
|
--- trickle-overload.c.orig 2003-06-04 18:35:52.000000000 +0200
|
|
+++ trickle-overload.c 2003-06-04 18:36:45.000000000 +0200
|
|
@@ -476,7 +476,7 @@ select(int nfds, fd_set *rfds, fd_set *w
|
|
#if defined(__linux__) || (defined(__svr4__) && defined(__sun__))
|
|
int
|
|
poll(struct pollfd *fds, nfds_t nfds, int __timeout)
|
|
-#elif defined(__FreeBSD__)
|
|
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
|
int
|
|
poll(struct pollfd *fds, unsigned int nfds, int __timeout)
|
|
#else
|