From: hjl Date: Thu, 12 Sep 2002 21:41:09 +0000 (+0000) Subject: 2002-09-12 H.J. Lu X-Git-Tag: nfs-utils-1-0-2-pre3~1 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=259185400a65f2fc0c304b42aae6dde1dddd4baa 2002-09-12 H.J. Lu * support/include/nfslib.h (svctcp_socket): Protect it with HAVE_SVCTCP_SOCKET. (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET. --- diff --git a/ChangeLog b/ChangeLog index a7b593a..00fc995 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-09-12 H.J. Lu + + * support/include/nfslib.h (svctcp_socket): Protect it with + HAVE_SVCTCP_SOCKET. + (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET. + 2002-09-12 H.J. Lu * configure.in (VERSION): Set to "1.0.2". diff --git a/support/include/nfslib.h b/support/include/nfslib.h index b95c782..82335fc 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -125,7 +125,11 @@ struct nfs_fh_len * getfh_size(struct sockaddr *addr, const char *, int size); /* lockd. */ int lockdsvc(); +#ifndef HAVE_SVCTCP_SOCKET extern int svctcp_socket (u_long __number, int __reuse); +#endif +#ifndef HAVE_SVCUDP_SOCKET extern int svcudp_socket (u_long __number, int __reuse); +#endif #endif /* NFSLIB_H */