summaryrefslogtreecommitdiffstats
path: root/support/include
diff options
context:
space:
mode:
authorhjl <hjl>2002-09-12 21:41:09 +0000
committerhjl <hjl>2002-09-12 21:41:09 +0000
commit259185400a65f2fc0c304b42aae6dde1dddd4baa (patch)
treed615308803d63aff9c1fa1cc62e63da300e06d51 /support/include
parent2134aed3d0db23249cb1fa037f5657805661b486 (diff)
downloadnfs-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.
Diffstat (limited to 'support/include')
-rw-r--r--support/include/nfslib.h4
1 files changed, 4 insertions, 0 deletions
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 */