netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipaddress: fix build with musl libc
@ 2016-05-22 23:52 Kylie McClain
  0 siblings, 0 replies; only message in thread
From: Kylie McClain @ 2016-05-22 23:52 UTC (permalink / raw)
  To: netdev; +Cc: Kylie McClain

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

Signed-off-by: Kylie McClain <somasis@exherbo.org>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-23  3:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-22 23:52 [PATCH] ipaddress: fix build with musl libc Kylie McClain

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).