mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
Use __kernel_old_dev_t for 2.6.x kernels
This commit is contained in:
parent
cf6ef05711
commit
0722513497
@ -33,6 +33,8 @@
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
|
||||
#define __bb_kernel_dev_t __kernel_old_dev_t
|
||||
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
|
||||
#define __bb_kernel_dev_t __kernel_dev_t
|
||||
#else
|
||||
#define __bb_kernel_dev_t unsigned short
|
||||
|
Loading…
Reference in New Issue
Block a user