diff options
Diffstat (limited to 'system/iproute2/0001-f_flower-fix-build-with-musl-libc.patch')
-rw-r--r-- | system/iproute2/0001-f_flower-fix-build-with-musl-libc.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/system/iproute2/0001-f_flower-fix-build-with-musl-libc.patch b/system/iproute2/0001-f_flower-fix-build-with-musl-libc.patch new file mode 100644 index 000000000..8a51affe5 --- /dev/null +++ b/system/iproute2/0001-f_flower-fix-build-with-musl-libc.patch @@ -0,0 +1,28 @@ +From 28747146622a49c3e7b5c5b36dc02c6a64124770 Mon Sep 17 00:00:00 2001 +From: Hans Dedecker <dedeckeh@gmail.com> +Date: Wed, 23 Jan 2019 22:02:31 +0100 +Subject: [PATCH] f_flower: fix build with musl libc + +XATTR_SIZE_MAX requires the usage of linux/limits.h; let's include it + +Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> +Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> +--- + tc/f_flower.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tc/f_flower.c b/tc/f_flower.c +index c5636667..9659e894 100644 +--- a/tc/f_flower.c ++++ b/tc/f_flower.c +@@ -14,6 +14,7 @@ + #include <unistd.h> + #include <string.h> + #include <net/if.h> ++#include <linux/limits.h> + #include <linux/if_arp.h> + #include <linux/if_ether.h> + #include <linux/ip.h> +-- +2.19.2 + |