diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-09 16:46:41 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-16 12:59:22 +0200 |
commit | e40542ef3a415d163a5ff5fee26c888fead79fa6 (patch) | |
tree | a99e6537f21ca774da8ae77bf37c19cbc3b1e2f6 /sysdep/unix/io.c | |
parent | c253ec3a9c45cfce3661f38bc2f5156d4bdd7969 (diff) |
Minor autoconf cleanup and documentation update
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 2 |
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; |