patch-src_util_c 744 B

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