diff mbox series

[iproute2] f_flower: fix build with musl libc

Message ID 20190123210231.7720-1-dedeckeh@gmail.com
State Accepted
Delegated to: stephen hemminger
Headers show
Series [iproute2] f_flower: fix build with musl libc | expand

Commit Message

Hans Dedecker Jan. 23, 2019, 9:02 p.m. UTC
XATTR_SIZE_MAX requires the usage of linux/limits.h; let's include it

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
---
 tc/f_flower.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Hemminger Jan. 24, 2019, 8:26 p.m. UTC | #1
On Wed, 23 Jan 2019 22:02:31 +0100
Hans Dedecker <dedeckeh@gmail.com> wrote:

> XATTR_SIZE_MAX requires the usage of linux/limits.h; let's include it
> 
> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

Applied
diff mbox series

Patch

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>