summaryrefslogtreecommitdiffstats
path: root/package/ubsec_ssb/src/ocf-compat.h
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-26 11:45:58 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-26 11:45:58 +0000
commit420070ce079ea4cdbef144b02f02e940880bc1d8 (patch)
tree8eb1f2a2db351add68951f1851b9779863e6b2eb /package/ubsec_ssb/src/ocf-compat.h
parent322c00880d4afae16bc8a70b323d90cae5e1a993 (diff)
[package] update ubsec_ssb to version 2009-02-21 (#4693)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14668 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2974b6c87..fb50b41e9 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