summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--support/include/nfslib.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a7b593a..00fc995 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */