]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: add missing limits.h header
authorBaruch Siach <baruch@tkos.co.il>
Thu, 22 Dec 2016 18:52:48 +0000 (20:52 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 29 Dec 2016 18:24:35 +0000 (10:24 -0800)
commitd421bb4efea6470c1667be3e8bfb1529e8e832d0
tree141a23793548ec077c8be4ad81b43c785a4e5467
parentf6d3126ef919d5935243921bb86bbeb1e5917a01
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 <baruch@tkos.co.il>
tc/tc_util.h