]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: ipset: avoid use of kernel-only types
authorJan Engelhardt <jengelh@medozas.de>
Sat, 14 Jan 2012 16:38:55 +0000 (17:38 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 30 Oct 2012 23:26:26 +0000 (23:26 +0000)
commit582e0a81e7e5bc587ff1f768793911799a46ca39
tree4f831dd2bf6cc74d2882cd1278e32d275e2db68a
parentf34e7558918d5f635013f621f4a7bf251e994a5c
netfilter: ipset: avoid use of kernel-only types

commit 5276e16bb6f35412583518d6f04651dd9dc114be upstream.

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 <jengelh@medozas.de>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/netfilter/xt_set.h