siit: merge r13890 & r13937 to 8.09
[openwrt/svn-archive/openwrt.git] / package / siit / src / siit.c
index e3c20d67b204852452f3c92e2e334379ac38fa09..4c0484e6972d240b6de7b68b1e81d8459177e077 100644 (file)
@@ -27,7 +27,9 @@
 #include <linux/init.h>
 #include <asm/uaccess.h>
 #include <asm/checksum.h>
-
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0)
+#include <net/ip6_checksum.h>
+#endif
 #include <linux/in6.h>
 #include "siit.h"