Remove conflicting netinet/ether.h
On some platforms like br-arm-cortex-a9-musl struct ethhdr was defined twice due to including of both linux/if_ether.h and netinet/ether.h. Which lead to a compilation error. Remove netinet/ether.h as the official header for struct ethhdr is linux/if_ether.h Signed-off-by: Petr Kulhavy <brain@jikos.cz>master
parent
159eb5ff11
commit
c7837b9a29
1
raw.c
1
raw.c
|
@ -20,7 +20,6 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <linux/filter.h>
|
#include <linux/filter.h>
|
||||||
#include <linux/if_ether.h>
|
#include <linux/if_ether.h>
|
||||||
#include <net/ethernet.h>
|
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netpacket/packet.h>
|
#include <netpacket/packet.h>
|
||||||
|
|
Loading…
Reference in New Issue