summaryrefslogtreecommitdiff
path: root/package/ubsec_ssb/src/ocf-compat.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-02-26 11:45:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-02-26 11:45:58 +0000
commit6936388c7d19151798c30e14ddd5e42ff6943b19 (patch)
tree775f10611865b079ad635ea587cfc7304608b4e7 /package/ubsec_ssb/src/ocf-compat.h
parent53b833a6c4f1e90d28ad785ccd916d6505accf65 (diff)
downloadmtk-20170518-6936388c7d19151798c30e14ddd5e42ff6943b19.zip
mtk-20170518-6936388c7d19151798c30e14ddd5e42ff6943b19.tar.gz
mtk-20170518-6936388c7d19151798c30e14ddd5e42ff6943b19.tar.bz2
update ubsec_ssb to version 2009-02-21 (#4693)
SVN-Revision: 14668
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 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