DORMANTno replies

[PATCH] ipaddress: fix build with musl libc

From: Kylie McClain <hidden>
Date: 2016-05-23 03:52:08
Subsystem: the rest · Maintainer: Linus Torvalds

MIN() is defined within sys/param.h.

Signed-off-by: Kylie McClain <redacted>
---
 ip/ipaddress.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index 0692fba..df363b0 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -19,6 +19,7 @@
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
+#include <sys/param.h>
 #include <errno.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-- 
2.8.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help