diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-02-26 11:45:58 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-02-26 11:45:58 +0000 |
commit | 6936388c7d19151798c30e14ddd5e42ff6943b19 (patch) | |
tree | 775f10611865b079ad635ea587cfc7304608b4e7 /package/ubsec_ssb/src/ocf-compat.h | |
parent | 53b833a6c4f1e90d28ad785ccd916d6505accf65 (diff) | |
download | master-31e0f0ae-6936388c7d19151798c30e14ddd5e42ff6943b19.tar.gz master-31e0f0ae-6936388c7d19151798c30e14ddd5e42ff6943b19.tar.bz2 master-31e0f0ae-6936388c7d19151798c30e14ddd5e42ff6943b19.zip |
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.h | 4 |
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 |