[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20241208203126.23468-1-soap@gentoo.org>
Date: Sun, 8 Dec 2024 21:31:26 +0100
From: David Seifert <soap@...too.org>
To: netdev@...r.kernel.org
Cc: David Seifert <soap@...too.org>
Subject: [PATCH] musl: include <limits.h> for PATH_MAX macro
https://bugs.gentoo.org/946088
---
ip/iplink.c | 1 +
ip/ipnetns.c | 1 +
2 files changed, 2 insertions(+)
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>
--
2.47.1
Powered by blists - more mailing lists