From: Kylie McClain <somasissounds@gmail.com>
To: netdev@vger.kernel.org
Cc: Kylie McClain <somasis@exherbo.org>
Subject: [PATCH] ipaddress: fix build with musl libc
Date: Sun, 22 May 2016 19:52:02 -0400 [thread overview]
Message-ID: <1463961122-5943-1-git-send-email-somasis@exherbo.org> (raw)
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
reply other threads:[~2016-05-23 3:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463961122-5943-1-git-send-email-somasis@exherbo.org \
--to=somasissounds@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=somasis@exherbo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).