diff options
-rw-r--r-- | src/cmd/vbackup/mount-Linux.c | 3 |
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__ |