netfilter: ipset: avoid use of kernel-only types
authorJan Engelhardt <[email protected]>
Sat, 14 Jan 2012 16:38:55 +0000 (17:38 +0100)
committerPablo Neira Ayuso <[email protected]>
Mon, 26 Mar 2012 19:06:30 +0000 (21:06 +0200)
commit5276e16bb6f35412583518d6f04651dd9dc114be
tree0bcbae2fd0e0594e4525d04d4043c2befd853c17
parentf3d229c68bb47170f04f81e51c9ed5d4286cebdb
netfilter: ipset: avoid use of kernel-only types

When using the xt_set.h header in userspace, one will get these gcc
reports:

ipset/ip_set.h:184:1: error: unknown type name "u16"
In file included from libxt_SET.c:21:0:
netfilter/xt_set.h:61:2: error: unknown type name "u32"
netfilter/xt_set.h:62:2: error: unknown type name "u32"

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Jozsef Kadlecsik <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
include/linux/netfilter/xt_set.h