iptunnel: fix building w/older linux headers 86/287986/1 accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_tool_dev tizen_base tizen_base_dev accepted/tizen/base/20231107.085012 accepted/tizen/base/asan/20231128.220136 accepted/tizen/base/tool/20230328.020645 accepted/tizen/base/tool/dev/20230612.022430 submit/tizen_base/20230324.201856 submit/tizen_base/20230410.073934 submit/tizen_base_dev/20230612.021243
authorMike Frysinger <vapier@gentoo.org>
Tue, 15 Nov 2016 03:48:42 +0000 (22:48 -0500)
committerMarek Pikuła <m.pikula@partner.samsung.com>
Wed, 8 Feb 2023 13:46:44 +0000 (14:46 +0100)
commit976b629c3b188cce409262217523f9e061da72a4
treedae58e851db67a2d6610f20bb7cdbe291d9839c6
parent629e2c6e2ec0aa33ce1be277cb32751fddea8e53
iptunnel: fix building w/older linux headers

While linux-4.8+ headers work, older ones are missing includes.
Dropping netinet/ip.h uncovered that mess, so add linux/ip.h.

Change-Id: I6799b8b33b178a9926beee2c72d6ede6c971f85c
URL: https://bugs.gentoo.org/599542
Reported-by: Conrad Kostecki <ck@bl4ckb0x.de>
Source: https://sourceforge.net/p/net-tools/code/ci/ea3935bd7c0f36c86c40e5785326698fa3336c6a/
iptunnel.c