]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
iproute2: fix building with musl
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 21 Jan 2016 18:19:48 +0000 (15:19 -0300)
committerStephen Hemminger <shemming@brocade.com>
Tue, 2 Feb 2016 04:58:33 +0000 (15:58 +1100)
We need limits.h for PATH_MAX, fixes:

rt_names.c:364:13: error: ‘PATH_MAX’ undeclared (first use in this
function)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
lib/rt_names.c

index f6d17c0e59f49657e5c69663a1ae4824295ddedf..b665d3e92fa52b4367b6b05ad3d1e27a06a6221f 100644 (file)
@@ -18,6 +18,7 @@
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <dirent.h>
+#include <limits.h>
 
 #include <asm/types.h>
 #include <linux/rtnetlink.h>