use linux/version.h

This commit is contained in:
rsc 2006-05-16 15:47:59 +00:00
parent 286f68524e
commit e0d1df6f7c

View file

@ -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__