16 lines
364 B
Diff
16 lines
364 B
Diff
|
--- a/linux/include/openswan/ipsec_kversion.h
|
||
|
+++ b/linux/include/openswan/ipsec_kversion.h
|
||
|
@@ -339,6 +339,12 @@
|
||
|
# define HAVE_CURRENT_UID
|
||
|
#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)
|
||
|
# define HAVE_SKB_DST 1
|
||
|
#endif
|