]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ipaddress: fix build with musl libc
authorKylie McClain <somasissounds@gmail.com>
Sun, 22 May 2016 23:52:02 +0000 (19:52 -0400)
committerStephen Hemminger <shemming@brocade.com>
Mon, 23 May 2016 23:11:29 +0000 (16:11 -0700)
MIN() is defined within sys/param.h.

Signed-off-by: Kylie McClain <somasis@exherbo.org>
ip/ipaddress.c

index 0692fbacd6691e45b59c063365b7c19b0709cc82..df363b070d5de26494e3fe5e56035293487d7d8c 100644 (file)
@@ -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>