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