From: Baruch Siach Date: Thu, 22 Dec 2016 18:52:48 +0000 (+0200) Subject: tc: add missing limits.h header X-Git-Tag: v4.10.0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d421bb4efea6470c1667be3e8bfb1529e8e832d0;p=thirdparty%2Fiproute2.git tc: add missing limits.h header This fixes under musl build issues like: f_matchall.c: In function ‘matchall_parse_opt’: f_matchall.c:48:12: error: ‘LONG_MIN’ undeclared (first use in this function) if (h == LONG_MIN || h == LONG_MAX) { ^ f_matchall.c:48:12: note: each undeclared identifier is reported only once for each function it appears in f_matchall.c:48:29: error: ‘LONG_MAX’ undeclared (first use in this function) if (h == LONG_MIN || h == LONG_MAX) { ^ Signed-off-by: Baruch Siach --- diff --git a/tc/tc_util.h b/tc/tc_util.h index f198a4ad5..4db26c6d5 100644 --- a/tc/tc_util.h +++ b/tc/tc_util.h @@ -2,6 +2,7 @@ #define _TC_UTIL_H_ 1 #define MAX_MSG 16384 +#include #include #include #include