all: use <net/*> headers instead of <linux/*> where possible
commitb25a51fa5915df87f31a0cc0459cd9f05e17f540
authorTobias Klauser <tklauser@distanz.ch>
Wed, 10 May 2017 08:56:26 +0000 (10 10:56 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Wed, 10 May 2017 09:01:20 +0000 (10 11:01 +0200)
tree1b22ab8550889f1270d938aa084ee9b792265409
parent977a0f81d1e7dcd746fb22b3f972578e996e86d3
all: use <net/*> headers instead of <linux/*> where possible

The musl libc headers redefine some of the structs in linux/if_arp.h and
linux/if_ether.h, leading to compilation errors. Fix those by using the
libc provided versions of these headers and provide compatibility
defines for those that aren't present in older glibc versions.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
astraceroute.c
built_in.h
dev.c
pcap_io.h
proto_nlmsg.c