19 lines
702 B
Diff
19 lines
702 B
Diff
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"
|