iplink: fix build on musl libc due to missing PATH_MAX
Subsystems (2)
PATCH 1/1 iplink: fix build on musl libc due to missing PATH_MAX
Commit a597ab1 ("iplink: Fix link-netns id and link ifindex") started using PATH_MAX, but <limits.h> is apparently not implicitly included by the other standard headers.
Signed-off-by Holger Hoffstätte <[email protected]>
--- ip/iplink.c | 1 + 1 file changed, 1 insertion(+)
ip/iplink.c +1 -0
@@ -22,6 +22,7 @@#include <sys/ioctl.h> #include <stdbool.h> #include <linux/mpls.h> +#include <limits.h> #include "rt_names.h" #include "utils.h"
Signature · 1 line
2.47.1