|
@@ -49,11 +49,11 @@ extern int Curl_getaddrinfo_a(const char *nodename,
|
|
|
struct addrinfo **res);
|
|
|
#define getaddrinfo Curl_getaddrinfo_a
|
|
|
|
|
|
-
|
|
|
+/* Note socklen_t must be used as this is declared before curl_socklen_t */
|
|
|
extern int Curl_getnameinfo_a(const struct sockaddr *sa,
|
|
|
- curl_socklen_t salen,
|
|
|
- char *nodename, curl_socklen_t nodenamelen,
|
|
|
- char *servname, curl_socklen_t servnamelen,
|
|
|
+ socklen_t salen,
|
|
|
+ char *nodename, socklen_t nodenamelen,
|
|
|
+ char *servname, socklen_t servnamelen,
|
|
|
int flags);
|
|
|
#define getnameinfo Curl_getnameinfo_a
|
|
|
|