aboutsummaryrefslogtreecommitdiffstats
path: root/main/rpcbind/musl-poll.patch
blob: 9996d784269ac47699db30447145e4c5667d8ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>