summaryrefslogtreecommitdiff
path: root/sysdep/unix/io.c
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-09 16:46:41 +0200
commit71652572e35bfeea2f346b7c700a3050bf27e466 (patch)
treea99e6537f21ca774da8ae77bf37c19cbc3b1e2f6 /sysdep/unix/io.c
parent5d6dc93043a0bc77b1e0a71ea8dfe15325024b45 (diff)
Minor autoconf cleanup and documentation update
Diffstat (limited to 'sysdep/unix/io.c')
-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;