summaryrefslogtreecommitdiffstats
path: root/package/python
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-11-07 15:18:14 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-07 22:18:30 +0100
commit22dc3b6b64ead9b5ddc0daa99e01f045e0623836 (patch)
treec49c083640079e09dc0a5edf262299284be944b6 /package/python
parentadf31efcd433712f546f2a3bcdb18abe650db27b (diff)
downloadbuildroot-22dc3b6b64ead9b5ddc0daa99e01f045e0623836.tar.gz
buildroot-22dc3b6b64ead9b5ddc0daa99e01f045e0623836.zip
net-tools: fix field with incomplete type error
Update 0002 patch to match the one sent as a pull request. The previous one introduced a new problem that has been addressed in the new version. Some Linux headers included in certain toolchains may not have an updated linux/if_tunnel.h which includes linux/ip.h, so we need to include it unconditionally otherwise linux/if_tunnel.h will use the struct iphdr before being defined and the compilation will fail in this way: In file included from iptunnel.c:33:0: /usr/include/linux/if_tunnel.h:37:16: error: field 'iph' has incomplete type struct iphdr iph; ^ Pull request URL: https://sourceforge.net/p/net-tools/code/merge-requests/4/ Fixes: http://autobuild.buildroot.net/results/34f/34f9b10ef6a613057e8f6457d8a0a2fa142ad123/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud