[OpenWrt-Devel] [PATCH] linux-3.18: prevent redefinition of struct ethhdr

Jonas Gorski jogo at openwrt.org
Sat Jul 4 06:48:21 EDT 2015


On Sun, Jun 21, 2015 at 5:53 PM, Alejandro Mery <amery at geeks.cl> wrote:
> when using musl packages include netinet/ether.h break because
> struct ethhdr gets redefined.
> this patch comes includes a patch originally from sabotage linux
> and it has been submitted upstream https://lkml.org/lkml/2014/3/14/266
> Signed-off-by: Alejandro Mery <amery at geeks.cl>

I committed the whole patchseries slightly reworked in r46161, which
should improve the situation a bit. I plan to resubmit them myself
when the merge window closes, in the hope to eventually have them
included upstream. The original submission seems to have missed the
right mailing lists and was whitespace broken, which probably caused
it to be ignored / overlooked.

Of course this still requires libc headers before kernel headers, but
at least that order should now work.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list