Hi,

Attached is the diff for my mrt 2.2.2a-7.1 NMU.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u mrt-2.2.2a/src/lib/kernel/linux.c mrt-2.2.2a/src/lib/kernel/linux.c
--- mrt-2.2.2a/src/lib/kernel/linux.c
+++ mrt-2.2.2a/src/lib/kernel/linux.c
@@ -63,7 +63,10 @@
 
 #include <netinet/ip.h>
 #include <linux/if_tunnel.h>
+#include <linux/version.h>
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18)
 #include <linux/autoconf.h>
+#endif
 /* #undef CONFIG_RTNETLINK */
 #ifdef CONFIG_RTNETLINK
 #include <linux/version.h>
diff -u mrt-2.2.2a/debian/changelog mrt-2.2.2a/debian/changelog
--- mrt-2.2.2a/debian/changelog
+++ mrt-2.2.2a/debian/changelog
@@ -1,3 +1,11 @@
+mrt (2.2.2a-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Conditionally include <linux/autoconf.h> based on linux version
+    (closes: #428945).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Wed, 18 Jul 2007 10:54:41 +0200
+
 mrt (2.2.2a-7) unstable; urgency=high
 
   * Fixed FTBFS on GNU/kFreeBSD,  missing build-dep on libkvm-dev (closes: #403028).

Reply via email to