summaryrefslogtreecommitdiff
path: root/package/rpcbind/patches/patch-src_util_c
blob: 69669f0e144cfee92098e29f881bf39a0b92d537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- rpcbind-0.2.3.orig/src/util.c	2015-04-27 16:07:43.000000000 +0200
+++ rpcbind-0.2.3/src/util.c	2016-10-08 18:28:03.000000000 +0200
@@ -41,7 +41,6 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <sys/queue.h>
 #include <net/if.h>
 #include <netinet/in.h>
 #include <ifaddrs.h>
@@ -56,6 +55,7 @@
 #include <stdio.h>
 #include <arpa/inet.h>
 
+#include "queue.h"
 #include "rpcbind.h"
 
 #define	SA2SIN(sa)	((struct sockaddr_in *)(sa))
@@ -70,7 +70,7 @@ static struct sockaddr_in *local_in4;
 static struct sockaddr_in6 *local_in6;
 #endif
 
-static int bitmaskcmp __P((void *, void *, void *, int));
+static int bitmaskcmp (void *, void *, void *, int);
 
 /*
  * For all bits set in "mask", compare the corresponding bits in