From 164e5133f68dad5b13a297f02ef5e9217c60967b Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 13 Jul 2007 12:57:23 +0000 Subject: [PATCH] Make linuxigd compile again (#1941) SVN-Revision: 7964 --- .../patches/002-netfilter_nat_headers.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 net/linuxigd/patches/002-netfilter_nat_headers.patch diff --git a/net/linuxigd/patches/002-netfilter_nat_headers.patch b/net/linuxigd/patches/002-netfilter_nat_headers.patch new file mode 100644 index 0000000000..abbc11e79f --- /dev/null +++ b/net/linuxigd/patches/002-netfilter_nat_headers.patch @@ -0,0 +1,16 @@ +diff -urN linuxigd-1.0/iptc.c linuxigd-1.0.new/iptc.c +--- linuxigd-1.0/iptc.c 2006-09-11 17:55:48.000000000 +0200 ++++ linuxigd-1.0.new/iptc.c 2007-07-13 14:50:23.000000000 +0200 +@@ -6,7 +6,12 @@ + #include + #include + #include ++#include ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) ++#include ++#else + #include ++#endif + #include /* inet_addr */ + #include "globals.h" + #include "util.h" -- 2.30.2