summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-09 16:46:41 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-16 12:59:22 +0200
commite40542ef3a415d163a5ff5fee26c888fead79fa6 (patch)
treea99e6537f21ca774da8ae77bf37c19cbc3b1e2f6 /sysdep/unix
parentc253ec3a9c45cfce3661f38bc2f5156d4bdd7969 (diff)
Minor autoconf cleanup and documentation update
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 8773f4c4..561d4dea 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -516,7 +516,7 @@ static inline void
sockaddr_fill4(struct sockaddr_in *sa, ip_addr a, uint port)
{
memset(sa, 0, sizeof(struct sockaddr_in));
-#ifdef HAVE_SIN_LEN
+#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
sa->sin_len = sizeof(struct sockaddr_in);
#endif
sa->sin_family = AF_INET;