summaryrefslogtreecommitdiffstats
path: root/main/rpcbind/musl-poll.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/rpcbind/musl-poll.patch')
-rw-r--r--main/rpcbind/musl-poll.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/rpcbind/musl-poll.patch b/main/rpcbind/musl-poll.patch
new file mode 100644
index 000000000..9996d7842
--- /dev/null
+++ b/main/rpcbind/musl-poll.patch
@@ -0,0 +1,19 @@
+--- rpcbind-0.2.1.orig/src/rpcb_svc_com.c
++++ rpcbind-0.2.1/src/rpcb_svc_com.c
+@@ -42,8 +42,6 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/param.h>
+-#include <sys/poll.h>
+-#include <bits/poll.h>
+ #include <sys/socket.h>
+ #include <rpc/rpc.h>
+ #include <rpc/rpcb_prot.h>
+@@ -54,6 +52,7 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <time.h>
++#include <poll.h>
+ #ifdef PORTMAP
+ #include <netinet/in.h>
+ #include <rpc/pmap_prot.h>