1 From 1f4547b0a81db617f4b0d02711d9e39278eb8283 Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Thu, 22 Dec 2016 20:45:11 +0200
4 Subject: [PATCH] tc: add missing limits.h header
6 This fixes under musl build issues like:
8 f_matchall.c: In function ‘matchall_parse_opt’:
9 f_matchall.c:48:12: error: ‘LONG_MIN’ undeclared (first use in this function)
10 if (h == LONG_MIN || h == LONG_MAX) {
12 f_matchall.c:48:12: note: each undeclared identifier is reported only once for each function it appears in
13 f_matchall.c:48:29: error: ‘LONG_MAX’ undeclared (first use in this function)
14 if (h == LONG_MIN || h == LONG_MAX) {
17 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
19 Upstream status: posted http://marc.info/?l=linux-netdev&m=148243283002957&w=2
22 1 file changed, 1 insertion(+)
24 diff --git a/tc/tc_util.h b/tc/tc_util.h
25 index f198a4ad5554..4db26c6d5e25 100644
33 #include <linux/pkt_sched.h>
34 #include <linux/pkt_cls.h>
35 #include <linux/gen_stats.h>