]> 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>
Tue, 18 Feb 2020 10:26:43 +0000 (11:26 +0100)
commit6da3aeb4aedb944dfe2a711bf7e41dbdf6abeb5d
tree864d1b52958c8f6b3d573042b6e7ad029fee3a5e
parent33f08da283244d87a5fdfd281d04548bd68f6a93
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