diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-02 23:01:18 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-06 22:50:47 +0200 |
| commit | 83f496bdf094d71e9bbe38f08f39426f8b1a139d (patch) | |
| tree | 9b7d08b033b87c3ee5f5927b42ff143e7aa7d04a /lib/srv6.c | |
| parent | 3e85fb337332c8dbdf0a8834515170556f530b94 (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>
Diffstat (limited to 'lib/srv6.c')
0 files changed, 0 insertions, 0 deletions
