diff options
author | Yang Tse <yangsita@gmail.com> | 2009-05-02 02:37:32 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-05-02 02:37:32 +0000 |
commit | 9137e717b04644592b9b527839470337fdd9f44d (patch) | |
tree | e7b9af9f3d06915f4900238ff4f5a077fb05810b /lib/setup-os400.h | |
parent | 80186aa7f44ed5155665d96336b508403b3d4a03 (diff) | |
download | curl-9137e717b04644592b9b527839470337fdd9f44d.tar.gz |
Use build-time configured curl_socklen_t instead of socklen_t
Diffstat (limited to 'lib/setup-os400.h')
-rw-r--r-- | lib/setup-os400.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/setup-os400.h b/lib/setup-os400.h index eb51bc24c..636ee7fa2 100644 --- a/lib/setup-os400.h +++ b/lib/setup-os400.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -47,9 +47,10 @@ extern int Curl_getaddrinfo_a(const char * nodename, const char * servname, #define getaddrinfo Curl_getaddrinfo_a -extern int Curl_getnameinfo_a(const struct sockaddr * sa, socklen_t salen, - char * nodename, socklen_t nodenamelen, - char * servname, socklen_t servnamelen, +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, int flags); #define getnameinfo Curl_getnameinfo_a |