diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-02 23:01:18 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2022-11-07 19:21:26 +0000 |
| commit | f04dff1889fdc0ec2c850c92a5a9b8c05b56a792 (patch) | |
| tree | 5383a250d86fc56ed8ea5b1440c08300b2bcc040 /python/firstheader.py | |
| parent | 99477bc4925725a9f371149e5396937936b2a855 (diff) | |
zebra: Reuse netinet/if_ether.h to avoid redefinition of struct ethhdr
In file included from /usr/include/net/ethernet.h:10,
from ./lib/prefix.h:26,
from zebra/tc_netlink.c:32:
/usr/include/netinet/if_ether.h:115:8: error: redefinition of 'struct ethhdr'
115 | struct ethhdr {
| ^~~~~~
In file included from zebra/tc_netlink.c:28:
/usr/include/linux/if_ether.h:169:8: note: originally defined here
169 | struct ethhdr {
| ^~~~~~
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 83f496bdf094d71e9bbe38f08f39426f8b1a139d)
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions
