diff options
Diffstat (limited to 'package/ubsec_ssb/src/ocf-compat.h')
-rw-r--r-- | package/ubsec_ssb/src/ocf-compat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/ubsec_ssb/src/ocf-compat.h b/package/ubsec_ssb/src/ocf-compat.h index 2974b6c..fb50b41 100644 --- a/package/ubsec_ssb/src/ocf-compat.h +++ b/package/ubsec_ssb/src/ocf-compat.h @@ -123,7 +123,9 @@ struct ocf_device { #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) +#include <linux/fdtable.h> +#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) #define files_fdtable(files) (files) #endif |