From efd88f54e8335f916e780669814ba34e5884b7a0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 12 Sep 2009 23:26:48 -0400 Subject: vbackup: fix build on FreeBSD 8 fixes #30 http://code.swtch.com/plan9port/issues/30/ http://codereview.appspot.com/117060 --- src/cmd/vbackup/mount-BSD.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cmd/vbackup') 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 #include #include +#if defined(__FreeBSD_version) && __FreeBSD_version >= 800000 +#include +#include +# else #include #include +#endif #if defined(__FreeBSD_version) && __FreeBSD_version >= 500000 # include # ifndef MNT_NODEV -- cgit v1.2.3