summaryrefslogtreecommitdiffstats
path: root/package/openswan/patches/140-linux_moduleparam.patch
blob: 8fbc358bc94b5e53dd1875ffc2d2bc145c61f1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -urN openswan-2.4.8/linux/net/ipsec/ipsec_proc.c openswan-2.4.8.new/linux/net/ipsec/ipsec_proc.c
--- openswan-2.4.8/linux/net/ipsec/ipsec_proc.c	2006-11-15 23:21:39.000000000 +0100
+++ openswan-2.4.8.new/linux/net/ipsec/ipsec_proc.c	2007-06-13 20:00:51.000000000 +0200
@@ -27,6 +27,9 @@
 #include <linux/version.h>
 #define __NO_VERSION__
 #include <linux/module.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
+#include <linux/moduleparam.h>
+#endif
 #include <linux/kernel.h> /* printk() */
 
 #include "openswan/ipsec_kversion.h"