diff options
author | Baruch Siach <baruch@tkos.co.il> | 2016-12-16 06:52:17 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-12-17 15:26:36 +0100 |
commit | 69ced963555b82f847d03ff3a832e4748ed0e721 (patch) | |
tree | c640b9e9daf9607182d2919420beb0106a2a7901 /package/linux-syscall-support/linux-syscall-support.hash | |
parent | 4470dd9b1bdbb9b39e9fb13f27bcaa044719de6d (diff) | |
download | buildroot-69ced963555b82f847d03ff3a832e4748ed0e721.tar.gz buildroot-69ced963555b82f847d03ff3a832e4748ed0e721.zip |
musl: workaround kernel if_ether.h header conflict
Add a patch that defines _LINUX_IF_ETHER_H in netinet/if_ether.h to avoid the
conflicting kernel if_ether.h.
Other musl distros (Alpine, Sabotage, Gentoo) patch[1] the kernel headers
instead. This is not practical in Buildroot, since we allow the user to choose
the kernel version.
This only fixes the normal case of including linux/if_ether.h (directly or
indirectly) after netinet/if_ether.h.
Fixes (tcpreplay):
http://autobuild.buildroot.net/results/a65/a65b27f9e288f94f041ced64313dbf55af47bf36/
[1] https://cgit.gentoo.org/proj/musl.git/diff/sys-kernel/linux-headers/files/libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch?id=8eddda8072add075ebf56cf6d288bc1450d6b5f8
Cc: Rich Felker <dalias@aerifal.cx>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linux-syscall-support/linux-syscall-support.hash')
0 files changed, 0 insertions, 0 deletions