diff options
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,7 +94,7 @@ #include "inet_ntop.h" #include "select.h" #include "parsedate.h" /* for the week day and month names */ -#include "sockaddr.h" /* required for sockaddr_storage */ +#include "sockaddr.h" /* required for Curl_sockaddr_storage */ #if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL) #include "inet_ntoa_r.h" @@ -778,7 +778,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, /****************************************************************** * IPv6-specific section */ - struct sockaddr_storage ss; + struct Curl_sockaddr_storage ss; struct addrinfo *res, *ai; socklen_t sslen; char hbuf[NI_MAXHOST]; |