From: florian Date: Fri, 13 Jul 2007 13:07:22 +0000 (+0000) Subject: miniupnpd needs the same fix (#2000) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=b63b20bd682fb879e0edcc4b1b5d5387b6dd7f54;p=packages.git miniupnpd needs the same fix (#2000) git-svn-id: svn://svn.openwrt.org/openwrt/packages@7965 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/miniupnpd/patches/101-netfilter_nat_headers.patch b/net/miniupnpd/patches/101-netfilter_nat_headers.patch new file mode 100644 index 000000000..8824e91d9 --- /dev/null +++ b/net/miniupnpd/patches/101-netfilter_nat_headers.patch @@ -0,0 +1,16 @@ +diff -urN miniupnpd-1.0-RC6/linux/iptcrdr.c miniupnpd-1.0-RC6.new/linux/iptcrdr.c +--- miniupnpd-1.0-RC6/linux/iptcrdr.c 2007-06-11 15:25:40.000000000 +0200 ++++ miniupnpd-1.0-RC6.new/linux/iptcrdr.c 2007-07-13 14:59:58.000000000 +0200 +@@ -15,7 +15,12 @@ + #include + #include + #include ++#include ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) ++#include ++#else + #include ++#endif + #include "iptcrdr.h" + + /* chain name to use, both in the nat table