<bits/sockaddr.h> is an internal C library header, which is not
guaranteed to be available in all C libraries, so it shouldn't be
included, otherwise iprutils cannot be built with musl.

<limits.h> is needed to get the definition of PATH_MAX.

Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
---
 iprlib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iprlib.h b/iprlib.h
index 16fe1e1..73aa1ce 100644
--- a/iprlib.h
+++ b/iprlib.h
@@ -46,9 +46,9 @@
 #include <asm/byteorder.h>
 #include <sys/mman.h>
 #include <paths.h>
-#include <bits/sockaddr.h>
 #include <linux/netlink.h>
 #include <time.h>
+#include <limits.h>
 
 typedef uint8_t u8;
 typedef uint16_t u16;
-- 
2.6.4


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Iprdd-devel mailing list
Iprdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iprdd-devel

Reply via email to