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
@ -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…
Reference in New Issue
Block a user