From b25a51fa5915df87f31a0cc0459cd9f05e17f540 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 10 May 2017 10:56:26 +0200 Subject: all: use headers instead of 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 --- pcap_io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcap_io.h') diff --git a/pcap_io.h b/pcap_io.h index 3d70b21..af5ce8e 100644 --- a/pcap_io.h +++ b/pcap_io.h @@ -14,9 +14,9 @@ #include #include #include +#include #include #include -#include #include "built_in.h" #include "die.h" -- cgit v1.2.3-54-g00ecf