[package] update ubsec_ssb to version 2009-02-21 (#4693)
[openwrt-10.03/.git] / package / ubsec_ssb / src / ocf-compat.h
index 2974b6c8784a2ad3733e0fdf8715f50fd21aa942..fb50b41e9f8f49c50a10fba2fd8076b4b7bab24b 100644 (file)
@@ -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