summaryrefslogtreecommitdiff
path: root/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 09:20:04 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 09:20:04 +0000
commit036f718684cfc32113b0e49b4380d328e3aedc16 (patch)
treef95f15930a3e291d01d492e9bf6ebbd469457e2f /package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch
parent53cc639eefdd63052a4e20eec69d0605c08b0c28 (diff)
- add missing include
Diffstat (limited to 'package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch')
-rw-r--r--package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch b/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch
index 3cf64c337..0b8257ab8 100644
--- a/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch
+++ b/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-klips.patch
@@ -4408,7 +4408,7 @@ packaging/utils/kernelpatch 2.6
+
+#ifdef __KERNEL__
+#include "ipsec_kversion.h"
-+
++#include <linux/ip.h> /* struct iphdr */
+/* Set number of ipsecX virtual devices here. */
+/* This must be < exp(field width of IPSEC_DEV_FORMAT) */
+/* It must also be reasonable so as not to overload the memory and CPU */
@@ -4554,16 +4554,16 @@ packaging/utils/kernelpatch 2.6
+#ifdef CONFIG_KLIPS_DEBUG
+extern void ipsec_print_ip(struct iphdr *ip);
+
-+ #define KLIPS_PRINT(flag, format, args...) \
++# define KLIPS_PRINT(flag, format, args...) \
+ ((flag) ? printk(KERN_INFO format , ## args) : 0)
-+ #define KLIPS_PRINTMORE(flag, format, args...) \
++# define KLIPS_PRINTMORE(flag, format, args...) \
+ ((flag) ? printk(format , ## args) : 0)
-+ #define KLIPS_IP_PRINT(flag, ip) \
++# define KLIPS_IP_PRINT(flag, ip) \
+ ((flag) ? ipsec_print_ip(ip) : 0)
+#else /* CONFIG_KLIPS_DEBUG */
-+ #define KLIPS_PRINT(flag, format, args...) do ; while(0)
-+ #define KLIPS_PRINTMORE(flag, format, args...) do ; while(0)
-+ #define KLIPS_IP_PRINT(flag, ip) do ; while(0)
++# define KLIPS_PRINT(flag, format, args...) do ; while(0)
++# define KLIPS_PRINTMORE(flag, format, args...) do ; while(0)
++# define KLIPS_IP_PRINT(flag, ip) do ; while(0)
+#endif /* CONFIG_KLIPS_DEBUG */
+
+