[OpenWrt-Devel] [PATCH v2] uapi/if_ether.h: prevent redefinition of struct ethhdr
sashal at kernel.org
Sun Feb 17 13:21:50 EST 2019
On Thu, Feb 14, 2019 at 02:18:00PM +0100, Linus Walleij wrote:
>From: Hauke Mehrtens <hauke at hauke-m.de>
>commit 6926e041a8920c8ec27e4e155efa760aa01551fd upstream.
>Musl provides its own ethhdr struct definition. Add a guard to prevent
>its definition of the appropriate musl header has already been included.
>glibc does not implement this header, but when glibc will implement this
>they can just define __UAPI_DEF_ETHHDR 0 to make it work with the
>Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
>Signed-off-by: David S. Miller <davem at davemloft.net>
>Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Queued up, thank you.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel