]> granicus.if.org Git - strace/commit
Workaround historic linux/netfilter/xt_osf.h deficiencies
authorJingPiao Chen <chenjingpiao@gmail.com>
Wed, 11 Oct 2017 14:41:50 +0000 (22:41 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 14 Oct 2017 18:29:51 +0000 (18:29 +0000)
commit69c68ef5bf588fe22f1e76cc6464c70227418da7
tree0c17f94b3aef6fe30246fc38a5d7fda0cac4b732
parent489d8a95642d508f941167b3b276b40caf6b321b
Workaround historic linux/netfilter/xt_osf.h deficiencies

When using linux kernel headers without commit v4.5-rc1~128^2~115^2~22
("netfilter: fix include files for compilation"), both <linux/ip.h>
and <linux/tcp.h> have to be included before <linux/netfilter/xt_osf.h>.

* configure.ac (AC_CHECK_HEADERS): Include <linux/ip.h>
and <linux/tcp.h> when checking for linux/netfilter/xt_osf.h header.
* tests/nfnetlink_osf.c: Include <linux/ip.h> and <linux/tcp.h>
before <linux/netfilter/xt_osf.h>.
configure.ac
tests/nfnetlink_osf.c