From: Khem Raj Date: Sat, 20 May 2017 21:28:46 +0000 (-0700) Subject: tc: include stdint.h explicitly for UINT16_MAX X-Git-Tag: v4.12.0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae717baf15fb4d30749ada3948d9445892bac239;p=thirdparty%2Fiproute2.git tc: include stdint.h explicitly for UINT16_MAX Fixes | tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'? | if ((sz >> s->size_log) > UINT16_MAX) { | ^~~~~~~~~~ Signed-off-by: Khem Raj --- diff --git a/tc/tc_core.c b/tc/tc_core.c index 7bbe0d733..821b741be 100644 --- a/tc/tc_core.c +++ b/tc/tc_core.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include