projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k: compile out the ath9k rate control
[openwrt.git]
/
package
/
ubsec_ssb
/
src
/
ocf-compat.h
diff --git
a/package/ubsec_ssb/src/ocf-compat.h
b/package/ubsec_ssb/src/ocf-compat.h
index 2974b6c8784a2ad3733e0fdf8715f50fd21aa942..fb50b41e9f8f49c50a10fba2fd8076b4b7bab24b 100644
(file)
--- 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