diff mbox

ipaddress: fix build with musl libc

Message ID 1463961122-5943-1-git-send-email-somasis@exherbo.org
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Kylie McClain May 22, 2016, 11:52 p.m. UTC
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 mbox

Patch

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>