diff mbox series

musl: include <limits.h> for PATH_MAX macro

Message ID 20241208203126.23468-1-soap@gentoo.org (mailing list archive)
State Superseded
Delegated to: Stephen Hemminger
Headers show
Series musl: include <limits.h> for PATH_MAX macro | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

David Seifert Dec. 8, 2024, 8:31 p.m. UTC
https://bugs.gentoo.org/946088
---
 ip/iplink.c  | 1 +
 ip/ipnetns.c | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/ip/iplink.c b/ip/iplink.c
index aa2332fc..27863b98 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -21,6 +21,7 @@ 
 #include <string.h>
 #include <sys/ioctl.h>
 #include <stdbool.h>
+#include <limits.h>
 #include <linux/mpls.h>
 
 #include "rt_names.h"
diff --git a/ip/ipnetns.c b/ip/ipnetns.c
index 5c943400..de16b279 100644
--- a/ip/ipnetns.c
+++ b/ip/ipnetns.c
@@ -15,6 +15,7 @@ 
 #include <errno.h>
 #include <unistd.h>
 #include <ctype.h>
+#include <limits.h>
 #include <linux/limits.h>
 
 #include <linux/net_namespace.h>