summaryrefslogtreecommitdiff
blob: eb14eab2e91479e4541f4e92ef4b460864d41ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff -urN vpnclient/frag.c vpnclient-new/frag.c
--- vpnclient/frag.c	2008-06-23 12:59:12.000000000 -0400
+++ vpnclient-new/frag.c	2010-05-23 23:53:10.000000000 -0400
@@ -1,5 +1,7 @@
 #include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+#include <generated/autoconf.h>
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
 #include <linux/autoconf.h>
 #else
 #include <linux/config.h>
diff -urN vpnclient/interceptor.c vpnclient-new/interceptor.c
--- vpnclient/interceptor.c	2008-06-23 12:59:12.000000000 -0400
+++ vpnclient-new/interceptor.c	2010-05-23 23:53:36.000000000 -0400
@@ -9,7 +9,9 @@
 * This module implements the linux driver.
 ***************************************************************************/
 #include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+#include <generated/autoconf.h>
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
 #include <linux/autoconf.h>
 #else
 #include <linux/config.h>
diff -urN vpnclient/IPSecDrvOS_linux.c vpnclient-new/IPSecDrvOS_linux.c
--- vpnclient/IPSecDrvOS_linux.c	2008-06-23 12:59:12.000000000 -0400
+++ vpnclient-new/IPSecDrvOS_linux.c	2010-05-23 23:53:44.000000000 -0400
@@ -12,7 +12,9 @@
 *
 ***************************************************************************/
 #include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+#include <generated/autoconf.h>
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
 #include <linux/autoconf.h>
 #else
 #include <linux/config.h>
diff -urN vpnclient/linuxcniapi.c vpnclient-new/linuxcniapi.c
--- vpnclient/linuxcniapi.c	2008-06-23 12:59:12.000000000 -0400
+++ vpnclient-new/linuxcniapi.c	2010-05-23 23:52:43.000000000 -0400
@@ -10,7 +10,9 @@
  * Linux Interceptor driver.
  ***************************************************************************/
 #include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+#include <generated/autoconf.h>
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
 #include <linux/autoconf.h>
 #else
 #include <linux/config.h>