freebsd 5

This commit is contained in:
rsc 2005-07-13 22:51:29 +00:00
parent c44f783b4b
commit f691849bf6

View file

@ -11,7 +11,11 @@
#include <rpc/pmap_prot.h>
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
#include <nfs/nfs.h>
#if __FreeBSD_version >= 500000
# include <nfsclient/nfs.h>
#else
# include <nfs/nfs.h>
#endif
#include <libc.h>
#include "mountnfs.h"
@ -38,7 +42,6 @@ mountnfs(int proto, struct sockaddr_in *sa,
na.retrans = NFS_RETRANS;
na.maxgrouplist = NFS_MAXGRPS;
na.readahead = 0;
na.leaseterm = 0;
na.deadthresh = 0;
na.hostname = "backup";
na.acregmin = 60;