diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-01-04 01:14:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-04 22:30:52 +0300 |
commit | 6926e041a8920c8ec27e4e155efa760aa01551fd (patch) | |
tree | 84c94bc8ffb7e5738793ea78fd996a5294da94bf /net | |
parent | 7bbfe00e025240505db3e04c3b296d7c023b2a26 (diff) | |
download | linux-6926e041a8920c8ec27e4e155efa760aa01551fd.tar.xz |
uapi/if_ether.h: prevent redefinition of struct ethhdr
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
kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions