From 259185400a65f2fc0c304b42aae6dde1dddd4baa Mon Sep 17 00:00:00 2001 From: hjl Date: Thu, 12 Sep 2002 21:41:09 +0000 Subject: 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. --- support/include/nfslib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'support/include') 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 */ -- cgit