diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-09 17:37:38 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-09 17:37:38 +0200 |
commit | fd1f355b7b24f354f7d57f127911b4fd98354b34 (patch) | |
tree | df857122e33422c4e72057b4a301f9cec61363bd /sysdep/unix/io.c | |
parent | 525a88d87930d01d4301e2723dda3dca208cd3d4 (diff) | |
parent | 71652572e35bfeea2f346b7c700a3050bf27e466 (diff) |
Merge branch 'master' into int-new
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 6722fc69..d1246ea5 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; |