mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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 <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__
|
||||
|
|
Loading…
Reference in a new issue