aboutsummaryrefslogtreecommitdiffstats
path: root/main/iproute2/musl-fixes.patch
blob: 6c2990481ada633510d49b999ac13692ebed18a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Include linux/limits.h to fix the following compilation error:

	f_flower.c: In function 'flower_parse_enc_opts':
	f_flower.c:702:11: error: 'XATTR_SIZE_MAX' undeclared (first use in this function); did you mean 'SSIZE_MAX
	  char key[XATTR_SIZE_MAX], mask[XATTR_SIZE_MAX];
		   ^~~~~~~~~~~~~~
		   SSIZE_MAX

diff -upr iproute2-4.20.0.orig/tc/f_flower.c iproute2-4.20.0/tc/f_flower.c
--- iproute2-4.20.0.orig/tc/f_flower.c	2019-03-16 16:49:46.328056814 +0100
+++ iproute2-4.20.0/tc/f_flower.c	2019-03-16 16:50:13.658058776 +0100
@@ -19,6 +19,7 @@
 #include <linux/ip.h>
 #include <linux/tc_act/tc_vlan.h>
 #include <linux/mpls.h>
+#include <linux/limits.h>
 
 #include "utils.h"
 #include "tc_util.h"