From: Akhilesh Nema Date: Wed, 3 Dec 2025 02:11:24 +0000 (-0800) Subject: fix 'UINT_MAX' undeclared with build with musl libc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c1113633fde51b0e60f02243cfad1b3d09762cc;p=thirdparty%2Fiproute2.git fix 'UINT_MAX' undeclared with 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 --- 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 #include #include +#include #include #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 #include #include +#include #include #include #include