* [PATCH iproute2 1/1] lib,tc: Fix 'UINT_MAX' undeclared error observed during the build with musl libc
@ 2025-12-03 2:11 Akhilesh Nema
2025-12-07 17:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Akhilesh Nema @ 2025-12-03 2:11 UTC (permalink / raw)
To: netdev; +Cc: stephen, Akhilesh Nema
- utils_math.c:136:20: error: 'UINT_MAX' undeclared (first use in this function)
- tc_core.c:51:22: error: 'UINT_MAX' undeclared (first use in this function)
Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
---
lib/utils_math.c | 1 +
tc/tc_core.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/utils_math.c b/lib/utils_math.c
index a7e74744..fd2ddc7c 100644
--- a/lib/utils_math.c
+++ b/lib/utils_math.c
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <limits.h>
#include <asm/types.h>
#include "utils.h"
diff --git a/tc/tc_core.c b/tc/tc_core.c
index a422e02c..b13b7d78 100644
--- a/tc/tc_core.c
+++ b/tc/tc_core.c
@@ -11,6 +11,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <math.h>
+#include <limits.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2 1/1] lib,tc: Fix 'UINT_MAX' undeclared error observed during the build with musl libc
2025-12-03 2:11 [PATCH iproute2 1/1] lib,tc: Fix 'UINT_MAX' undeclared error observed during the build with musl libc Akhilesh Nema
@ 2025-12-07 17:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-12-07 17:40 UTC (permalink / raw)
To: Akhilesh Nema; +Cc: netdev, stephen
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Tue, 2 Dec 2025 18:11:24 -0800 you wrote:
> - utils_math.c:136:20: error: 'UINT_MAX' undeclared (first use in this function)
> - tc_core.c:51:22: error: 'UINT_MAX' undeclared (first use in this function)
>
> Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
> ---
> lib/utils_math.c | 1 +
> tc/tc_core.c | 1 +
> 2 files changed, 2 insertions(+)
Here is the summary with links:
- [iproute2,1/1] lib,tc: Fix 'UINT_MAX' undeclared error observed during the build with musl libc
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=6c1113633fde
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-07 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-03 2:11 [PATCH iproute2 1/1] lib,tc: Fix 'UINT_MAX' undeclared error observed during the build with musl libc Akhilesh Nema
2025-12-07 17:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).