[packages] polipo: solve a bunch of "sh: bad number" errors in init script, always...
[openwrt/svn-archive/archive.git] / net / openswan / patches / 130-compat_net_dev_ops.patch
1 ---
2 linux/include/openswan/ipsec_kversion.h | 6 ++++++
3 1 file changed, 6 insertions(+)
4
5 --- openswan-2.6.29.orig/linux/include/openswan/ipsec_kversion.h
6 +++ openswan-2.6.29/linux/include/openswan/ipsec_kversion.h
7 @@ -366,6 +366,12 @@
8 #endif
9 #endif
10
11 +#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,30)
12 +# ifndef CONFIG_COMPAT_NET_DEV_OPS
13 +# define USE_NETDEV_OPS
14 +# endif
15 +#endif
16 +
17 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
18 # define USE_NETDEV_OPS
19 #else