nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/configure.in b/configure.in
2index 6ebf3b2..5c85682 100644
3--- a/configure.in
4+++ b/configure.in
5@@ -198,6 +198,7 @@ if test "$HAVEMETHOD" = "no"; then
6 AC_TRY_RUN(
7 #include <dlfcn.h>
8 #include <stdio.h>
9+ #include <stdlib.h>
10
11 int
12 main(int argc, char **argv)
13diff --git a/xdr.c b/xdr.c
14index ed8bf5b..a20bbd9 100644
15--- a/xdr.c
16+++ b/xdr.c
17@@ -103,7 +103,7 @@ xdr_msg(XDR *xdrs, struct msg *msg)
18 {
19 X(xdr_short(xdrs, &msg->status));
20 X(xdr_union(xdrs, (int *)&msg->type, (char *)&msg->data,
21- xdr_msg_discrim, _xdr_void));
22+ xdr_msg_discrim, (xdrproc_t)_xdr_void));
23
24 return (TRUE);
25 }