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.27 / 130-netfilter_ipset.patch
index 111cb32a0754601c43cfc909735d94af4d2d0b65..b2a78d4a9bc32b34479cf8acc16bcc499775c7ae 100644 (file)
@@ -1,3 +1,20 @@
+--- a/include/linux/netfilter_ipv4/Kbuild
++++ b/include/linux/netfilter_ipv4/Kbuild
+@@ -45,3 +45,14 @@
+
+ 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
 --- /dev/null
 +++ b/include/linux/netfilter_ipv4/ip_set.h
 @@ -0,0 +1,498 @@