2010-10-09 08:43:44 +00:00
|
|
|
---
|
|
|
|
linux/include/openswan/ipsec_kversion.h | 6 ++++++
|
|
|
|
1 file changed, 6 insertions(+)
|
|
|
|
|
|
|
|
--- openswan-2.6.29.orig/linux/include/openswan/ipsec_kversion.h
|
|
|
|
+++ openswan-2.6.29/linux/include/openswan/ipsec_kversion.h
|
|
|
|
@@ -366,6 +366,12 @@
|
2010-08-18 08:10:45 +00:00
|
|
|
#endif
|
2010-04-05 01:59:06 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
+#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,30)
|
|
|
|
+# ifndef CONFIG_COMPAT_NET_DEV_OPS
|
|
|
|
+# define USE_NETDEV_OPS
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
|
2010-08-18 08:10:45 +00:00
|
|
|
# define USE_NETDEV_OPS
|
|
|
|
#else
|