Message ID | 27de1ca7-659f-bf0f-e53c-5336245078a4@applied-asynchrony.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Stephen Hemminger |
Headers | show |
Series | iplink: fix build on musl libc due to missing PATH_MAX | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/ip/iplink.c b/ip/iplink.c index aa2332fc..fbaa8c2b 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -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"
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 <holger@applied-asynchrony.com> --- ip/iplink.c | 1 + 1 file changed, 1 insertion(+)