From 259185400a65f2fc0c304b42aae6dde1dddd4baa Mon Sep 17 00:00:00 2001 From: hjl Date: Thu, 12 Sep 2002 21:41:09 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ support/include/nfslib.h | 4 ++++ 2 files changed, 10 insertions(+) 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 */ -- 2.39.2