netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] ipaddress: needs to include <sys/param.h>
@ 2016-05-19 17:29 Gustavo Zacarias
  2016-05-23 23:13 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2016-05-19 17:29 UTC (permalink / raw)
  To: netdev; +Cc: Gustavo Zacarias

It's using MIN() now, otherwise it breaks for musl libc.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 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.7.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH iproute2] ipaddress: needs to include <sys/param.h>
  2016-05-19 17:29 [PATCH iproute2] ipaddress: needs to include <sys/param.h> Gustavo Zacarias
@ 2016-05-23 23:13 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2016-05-23 23:13 UTC (permalink / raw)
  To: Gustavo Zacarias; +Cc: netdev

On Thu, 19 May 2016 14:29:46 -0300
Gustavo Zacarias <gustavo@zacarias.com.ar> wrote:

> It's using MIN() now, otherwise it breaks for musl libc.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Makes sense. Applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-23 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-19 17:29 [PATCH iproute2] ipaddress: needs to include <sys/param.h> Gustavo Zacarias
2016-05-23 23:13 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).