blob: c83a243b7171d679965d013366c55369d917f0d6 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001iproute2: fix building with musl
2
3We need limits.h for PATH_MAX, fixes:
4
5rt_names.c:364:13: error: PATH_MAX undeclared (first use in this
6function)
7
8Upstream-Status: Backport
9
10Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
11Signed-off-by: Maxin B. John <maxin.john@intel.com>
12---
13diff --git a/lib/rt_names.c b/lib/rt_names.c
14index f6d17c0..b665d3e 100644
15--- a/lib/rt_names.c
16+++ b/lib/rt_names.c
17@@ -18,6 +18,7 @@
18 #include <sys/time.h>
19 #include <sys/socket.h>
20 #include <dirent.h>
21+#include <limits.h>
22
23 #include <asm/types.h>
24 #include <linux/rtnetlink.h>