1 From df3b2b74ed7b49d74f5a5ec5687bcc3188d3b319 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Sun, 7 Feb 2016 14:10:44 +0100
4 Subject: [PATCH] iprlib: fixes for compatibility with musl
6 <bits/sockaddr.h> is an internal C library header, which is not
7 guaranteed to be available in all C libraries, so it shouldn't be
8 included, otherwise iprutils cannot be built with musl.
10 <limits.h> is needed to get the definition of PATH_MAX.
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/iprlib.h b/iprlib.h
18 index 16fe1e1..73aa1ce 100644
22 #include <asm/byteorder.h>
25 -#include <bits/sockaddr.h>
26 #include <linux/netlink.h>