aboutsummaryrefslogtreecommitdiffstats
path: root/package/ubsec_ssb/src/ocf-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/ubsec_ssb/src/ocf-compat.h')
-rw-r--r--package/ubsec_ssb/src/ocf-compat.h4
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 2974b6c878..fb50b41e9f 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