diff options
author | hjl <hjl> | 2002-09-12 21:41:09 +0000 |
---|---|---|
committer | hjl <hjl> | 2002-09-12 21:41:09 +0000 |
commit | 259185400a65f2fc0c304b42aae6dde1dddd4baa (patch) | |
tree | d615308803d63aff9c1fa1cc62e63da300e06d51 | |
parent | 2134aed3d0db23249cb1fa037f5657805661b486 (diff) | |
download | nfs-utils-259185400a65f2fc0c304b42aae6dde1dddd4baa.tar.gz nfs-utils-259185400a65f2fc0c304b42aae6dde1dddd4baa.tar.xz nfs-utils-259185400a65f2fc0c304b42aae6dde1dddd4baa.zip |
2002-09-12 H.J. Lu <hjl@lucon.org>
* support/include/nfslib.h (svctcp_socket): Protect it with
HAVE_SVCTCP_SOCKET.
(svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | support/include/nfslib.h | 4 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2002-09-12 H.J. Lu <hjl@lucon.org> + * 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 <hjl@lucon.org> + * configure.in (VERSION): Set to "1.0.2". * configure: Regenerated. * nfs-utils.spec: Likewise. 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 */ |