vbackup: fix build on FreeBSD 8
fixes #30 http://code.swtch.com/plan9port/issues/30/ http://codereview.appspot.com/117060
This commit is contained in:
parent
5d0dfbb05a
commit
efd88f54e8
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue