mirror of
https://github.com/sheumann/hush.git
synced 2024-08-27 03:29:05 +00:00
Fix compile error under 2.6, check for newer versions first or all the
checks wont be considered.
This commit is contained in:
parent
5f2a23c3c6
commit
d9670461c4
@ -31,10 +31,10 @@
|
||||
* so we get to try and cope as best we can... */
|
||||
#include <linux/version.h>
|
||||
#include <asm/posix_types.h>
|
||||
#if LINUX_VERSION_CODE >= 132608
|
||||
#define __bb_kernel_dev_t __kernel_old_dev_t
|
||||
#elif LINUX_VERSION_CODE >= 0x20600
|
||||
#if LINUX_VERSION_CODE >= 0x20600
|
||||
#define __bb_kernel_dev_t __kernel_dev_t
|
||||
#elif LINUX_VERSION_CODE >= 132608
|
||||
#define __bb_kernel_dev_t __kernel_old_dev_t
|
||||
#else
|
||||
#define __bb_kernel_dev_t unsigned short
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user