diff options
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r-- | src/compat/compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 49d7a30..1716311 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -233,7 +233,8 @@ static inline u32 __compat_prandom_u32_max(u32 ep_ro) #define prandom_u32_max __compat_prandom_u32_max #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 75) && !defined(ISRHEL7) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) +#include <linux/kernel.h> #ifndef U8_MAX #define U8_MAX ((u8)~0U) #endif |