[PATCH iproute2] ss: fix build with musl libc

Subsystems: the rest

STALE3647d

2 messages, 2 authors, 2016-08-22 · open the first message on its own page

[PATCH iproute2] ss: fix build with musl libc

From: Gustavo Zacarias <hidden>
Date: 2016-08-20 03:21:53

UINT_MAX usage requires limits.h, so include it.

Signed-off-by: Gustavo Zacarias <redacted>
---
 misc/ss.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/misc/ss.c b/misc/ss.c
index e758f57..3b268d9 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -26,6 +26,7 @@
 #include <fnmatch.h>
 #include <getopt.h>
 #include <stdbool.h>
+#include <limits.h>
 
 #include "utils.h"
 #include "rt_names.h"
-- 
2.7.3

Re: [PATCH iproute2] ss: fix build with musl libc

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2016-08-22 17:02:31

On Sat, 20 Aug 2016 00:11:10 -0300
Gustavo Zacarias [off-list ref] wrote:
UINT_MAX usage requires limits.h, so include it.

Signed-off-by: Gustavo Zacarias <redacted>
Applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help