X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Frpc_socket.c;h=2f76542e8f1a6ad88ca119845aaa68b8ac0d716f;hp=cebf83ddc71c94f9e68cba8c9c761d2ab2fdf25d;hb=965b4cf6398bed2a2c722b9d632b9674c228e36c;hpb=1f9c144db7be4c7e5eb07325a752c3306e13bfeb diff --git a/support/nfs/rpc_socket.c b/support/nfs/rpc_socket.c index cebf83d..2f76542 100644 --- a/support/nfs/rpc_socket.c +++ b/support/nfs/rpc_socket.c @@ -132,7 +132,7 @@ static int nfs_bind(const int sock, const sa_family_t family) return -1; } -#ifdef IPV6_SUPPORTED +#ifdef HAVE_LIBTIRPC /* * Bind a socket using an unused privileged source port. @@ -162,7 +162,7 @@ static int nfs_bindresvport(const int sock, const sa_family_t family) return -1; } -#else /* !IPV6_SUPPORTED */ +#else /* !HAVE_LIBTIRPC */ /* * Bind a socket using an unused privileged source port. @@ -180,7 +180,7 @@ static int nfs_bindresvport(const int sock, const sa_family_t family) return bindresvport(sock, NULL); } -#endif /* !IPV6_SUPPORTED */ +#endif /* !HAVE_LIBTIRPC */ /* * Perform a non-blocking connect on the socket fd.