use linux/version.h
This commit is contained in:
parent
286f68524e
commit
e0d1df6f7c
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
#include <u.h>
|
#include <u.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#ifdef __Linux24__
|
#include <linux/version.h>
|
||||||
|
#if LINUX_VERSION_CODE < 0x020600
|
||||||
# define __KERNEL__
|
# define __KERNEL__
|
||||||
# include <linux/nfs.h>
|
# include <linux/nfs.h>
|
||||||
# undef __KERNEL__
|
# undef __KERNEL__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue