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
Petr Kulhavy 2017-05-15 10:17:52 +02:00 committed by Richard Cochran
parent 159eb5ff11
commit c7837b9a29
1 changed files with 0 additions and 1 deletions

1
raw.c
View File

@ -20,7 +20,6 @@
#include <fcntl.h>
#include <linux/filter.h>
#include <linux/if_ether.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netpacket/packet.h>