dev-embedded/stlink: add
[sgilles-overlay.git] / net-nds / rpcbind / files / rpcbind-0.2.3-make-musl-happier.patch
blob77e606c37ead0485f9ee7c3cca6e0321892f97a5
1 diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
2 index 15a9671..8175c20 100644
3 --- a/src/rpcb_svc_com.c
4 +++ b/src/rpcb_svc_com.c
5 @@ -42,7 +42,7 @@
6 #include <sys/types.h>
7 #include <sys/stat.h>
8 #include <sys/param.h>
9 -#include <sys/poll.h>
10 +#include <poll.h>
11 #include <bits/poll.h>
12 #include <sys/socket.h>
13 #include <rpc/rpc.h>
14 diff --git a/src/util.c b/src/util.c
15 index ff9e1f4..85e86a5 100644
16 --- a/src/util.c
17 +++ b/src/util.c
18 @@ -41,11 +41,10 @@
20 #include <sys/types.h>
21 #include <sys/socket.h>
22 -#include <sys/queue.h>
23 #include <net/if.h>
24 #include <netinet/in.h>
25 #include <ifaddrs.h>
26 -#include <sys/poll.h>
27 +#include <poll.h>
28 #include <rpc/rpc.h>
29 #include <errno.h>
30 #include <stdlib.h>