fix ipset patch to have headers installed when using 'make -C $(KDIR) headers_install'
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.21 / 130-netfilter_ipset.patch
index b59c158652d23704ec2eef08092934ce075897cd..d6ef521b055cf947152b29562ccf9f22594865f1 100644 (file)
@@ -1,3 +1,20 @@
+--- a/include/linux/netfilter_ipv4/Kbuild
++++ b/include/linux/netfilter_ipv4/Kbuild
+@@ -59,3 +59,14 @@
+ unifdef-y += ip_nat_rule.h
+ unifdef-y += ip_queue.h
+ unifdef-y += ip_tables.h
++
++unifdef-y += ip_set.h
++header-y  += ip_set_iphash.h
++header-y  += ip_set_ipmap.h
++header-y  += ip_set_ipporthash.h
++unifdef-y += ip_set_iptree.h
++unifdef-y += ip_set_iptreemap.h
++header-y  += ip_set_jhash.h
++header-y  += ip_set_macipmap.h
++unifdef-y += ip_set_nethash.h
++header-y  += ip_set_portmap.h
 Index: linux-2.6.21.7/include/linux/netfilter_ipv4/ip_set.h
 ===================================================================
 --- /dev/null