| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-Id: <20251203021124.17535-1-nemaakhilesh@gmail.com> Date: Tue, 2 Dec 2025 18:11:24 -0800 From: Akhilesh Nema <nemaakhilesh@...il.com> To: netdev@...r.kernel.org Cc: stephen@...workplumber.org, Akhilesh Nema <nemaakhilesh@...il.com> Subject: [PATCH iproute2 1/1] lib,tc: Fix 'UINT_MAX' undeclared error observed during the build with musl libc - 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@...il.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
Powered by blists - more mailing lists