[<prev] [next>] [day] [month] [year] [list]
Message-ID: <27de1ca7-659f-bf0f-e53c-5336245078a4@applied-asynchrony.com>
Date: Sun, 8 Dec 2024 10:49:20 +0100
From: Holger Hoffstätte <holger@...lied-asynchrony.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH] 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 <holger@...lied-asynchrony.com>
---
ip/iplink.c | 1 +
1 file changed, 1 insertion(+)
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"
--
2.47.1
Powered by blists - more mailing lists