]> git.ipfire.org Git - thirdparty/ipset.git/commit
ip_set: Include kernel header instead of UAPI
authorSerhey Popovych <serhe.popovych@gmail.com>
Fri, 31 Jan 2020 16:28:34 +0000 (18:28 +0200)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Fri, 7 Feb 2020 19:46:22 +0000 (20:46 +0100)
commitd31400351015aa8d90a52b2c2cc58618ea11ca20
tree8a55d2bf79071566a80699a5e9b4eacede407f9b
parent61a8afcc9cc0311a607688923c76337f266b05b1
ip_set: Include kernel header instead of UAPI

This header is used to build kernel modules not userspace thus it is
correct to include linux/in.h kernel variant and not UAPI.

This fixes build on old and not widely supported systems like RHEL6 and
Debian GNU/Linux 7 (wheezy) before headers split to UAPI and kernel.

Fixes: 62d787ba5e66 ("netfilter: added missing includes to a number of header-files.")
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
kernel/include/linux/netfilter/ipset/ip_set_getport.h