mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +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>
|
#include <asm/posix_types.h>
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
|
#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
|
#define __bb_kernel_dev_t __kernel_dev_t
|
||||||
#else
|
#else
|
||||||
#define __bb_kernel_dev_t unsigned short
|
#define __bb_kernel_dev_t unsigned short
|
||||||
|
Loading…
Reference in New Issue
Block a user