diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-10 10:56:26 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-05-10 11:01:20 +0200 |
commit | b25a51fa5915df87f31a0cc0459cd9f05e17f540 (patch) | |
tree | 1b22ab8550889f1270d938aa084ee9b792265409 /proto_nlmsg.c | |
parent | 977a0f81d1e7dcd746fb22b3f972578e996e86d3 (diff) |
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>
Diffstat (limited to 'proto_nlmsg.c')
-rw-r--r-- | proto_nlmsg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/proto_nlmsg.c b/proto_nlmsg.c index f206405..58bf715 100644 --- a/proto_nlmsg.c +++ b/proto_nlmsg.c @@ -12,7 +12,6 @@ #include <netlink/msg.h> #include <netlink/route/link.h> #include <netlink/route/addr.h> -#include <linux/if_arp.h> #include <arpa/inet.h> #include "dev.h" |