diff options
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r-- | src/cmd/vbackup/mount-BSD.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/vbackup/mount-BSD.c b/src/cmd/vbackup/mount-BSD.c index e7bd8156..2d320b63 100644 --- a/src/cmd/vbackup/mount-BSD.c +++ b/src/cmd/vbackup/mount-BSD.c @@ -9,8 +9,13 @@ #include <rpc/rpc.h> #include <rpc/pmap_clnt.h> #include <rpc/pmap_prot.h> +#if defined(__FreeBSD_version) && __FreeBSD_version >= 800000 +#include <fs/nfs/rpcv2.h> +#include <fs/nfs/nfsproto.h> +# else #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> +#endif #if defined(__FreeBSD_version) && __FreeBSD_version >= 500000 # include <nfsclient/nfs.h> # ifndef MNT_NODEV |