X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Finclude%2Fnfslib.h;h=82335fc16417b29432344bb9075d3177d1bde19b;hb=259185400a65f2fc0c304b42aae6dde1dddd4baa;hp=b95c78263aefbb6118bd8f02508436987d702431;hpb=87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385;p=nfs-utils.git 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 */