[Buildroot] [PATCH 1/2] dhcpcd: fix build on old toolchains (sa_family_t)
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jan 2 18:12:33 UTC 2015
Dear Luca Ceresoli,
On Fri, 2 Jan 2015 17:39:04 +0100, Luca Ceresoli wrote:
> Fixes error such as:
> .../sysroot/usr/include/linux/netlink.h:31:2: error: unknown type name 'sa_family_t'
> .../sysroot/usr/include/linux/netlink.h:31:2: error: expected specifier-qualifier-list before 'sa_family_t'
>
> And autobuild failures:
> http://autobuild.buildroot.net/results/d92/d92e7f2af0e64bc40f7b5c9ea081471de98bf8e8/
> http://autobuild.buildroot.net/results/e97/e97e980a2f1e0ff4138a6dc03d86ad3ff0973e4a/
> http://autobuild.buildroot.net/results/ca3/ca32c4de8b645c96cedb80b6270a792e9601ad84/
>
> Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
But if it's actually the toolchain that is broken, should we instead
have a patch against the toolchain headers? There are other packages
that had similar problems with these toolchains.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list