another #include fix for siit
authorFelix Fietkau <nbd@openwrt.org>
Thu, 8 Jan 2009 20:51:53 +0000 (20:51 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 8 Jan 2009 20:51:53 +0000 (20:51 +0000)
SVN-Revision: 13937

package/siit/src/siit.c

index 897423d8cc45dd149f3739c5eb37c2bf60dda1c5..dddc8ef875b4f0ce3e2b2683a4baf9ee06a13f11 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"