aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-05-16 15:47:59 +0000
committerrsc <devnull@localhost>2006-05-16 15:47:59 +0000
commite0d1df6f7cef193774518a690ef9cbdebbdd0c4b (patch)
tree3d9fccf55092c3a2ff985f38b7c4b7858aba48cb /src/cmd/vbackup
parent286f68524e2f32afdbf43a3a9ed2cb5e0b647fd0 (diff)
downloadplan9port-e0d1df6f7cef193774518a690ef9cbdebbdd0c4b.tar.gz
plan9port-e0d1df6f7cef193774518a690ef9cbdebbdd0c4b.tar.bz2
plan9port-e0d1df6f7cef193774518a690ef9cbdebbdd0c4b.zip
use linux/version.h
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r--src/cmd/vbackup/mount-Linux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/vbackup/mount-Linux.c b/src/cmd/vbackup/mount-Linux.c
index 39b96a31..b343aa62 100644
--- a/src/cmd/vbackup/mount-Linux.c
+++ b/src/cmd/vbackup/mount-Linux.c
@@ -1,7 +1,8 @@
#include <u.h>
#include <sys/socket.h>
#include <sys/mount.h>
-#ifdef __Linux24__
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < 0x020600
# define __KERNEL__
# include <linux/nfs.h>
# undef __KERNEL__