aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-12-30 16:31:08 +0000
committerrsc <devnull@localhost>2005-12-30 16:31:08 +0000
commit96ce09f18429e86187139afd8b559ab2550d080d (patch)
treec6bfb1084ff5f08dae9c3939f3d65a52107bfc9d /src/cmd/vbackup
parentf054210f2706748113c78cedfcdb9c2268f78928 (diff)
downloadplan9port-96ce09f18429e86187139afd8b559ab2550d080d.tar.gz
plan9port-96ce09f18429e86187139afd8b559ab2550d080d.tar.bz2
plan9port-96ce09f18429e86187139afd8b559ab2550d080d.zip
freebsd 6
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r--src/cmd/vbackup/mount-BSD.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/vbackup/mount-BSD.c b/src/cmd/vbackup/mount-BSD.c
index 74cbfabe..e7bd8156 100644
--- a/src/cmd/vbackup/mount-BSD.c
+++ b/src/cmd/vbackup/mount-BSD.c
@@ -13,6 +13,9 @@
#include <nfs/nfsproto.h>
#if defined(__FreeBSD_version) && __FreeBSD_version >= 500000
# include <nfsclient/nfs.h>
+# ifndef MNT_NODEV
+# define MNT_NODEV 0
+# endif
#else
# include <nfs/nfs.h>
#endif