summaryrefslogtreecommitdiff
path: root/net/libunp/files/patch-lib_wrapsock__r.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/libunp/files/patch-lib_wrapsock__r.c')
-rw-r--r--net/libunp/files/patch-lib_wrapsock__r.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/libunp/files/patch-lib_wrapsock__r.c b/net/libunp/files/patch-lib_wrapsock__r.c
new file mode 100644
index 000000000000..1246b32a06ab
--- /dev/null
+++ b/net/libunp/files/patch-lib_wrapsock__r.c
@@ -0,0 +1,22 @@
+--- lib/wrapsock_r.c.orig 2016-06-17 22:39:47 UTC
++++ lib/wrapsock_r.c
+@@ -97,19 +97,6 @@ Listen(int fd, int backlog)
+ }
+ /* end Listen */
+
+-#ifdef HAVE_POLL
+-int
+-Poll(struct pollfd *fdarray, unsigned long nfds, int timeout)
+-{
+- int n;
+-
+- if ( (n = poll(fdarray, nfds, timeout)) < 0)
+- err_sys("poll error");
+-
+- return(n);
+-}
+-#endif
+-
+ ssize_t
+ Recv(int fd, void *ptr, size_t nbytes, int flags)
+ {