diff options
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/connect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/connect.c b/libssh/connect.c index c31dd2f2..02c22d57 100644 --- a/libssh/connect.c +++ b/libssh/connect.c @@ -64,11 +64,13 @@ static void sock_set_blocking(socket_t sock){ ioctlsocket(sock, FIONBIO, &nonblocking); } +#ifndef gai_strerror char WSAAPI *gai_strerrorA(int code){ static char buffer[256]; snprintf(buffer,256,"Undetermined error code (%d)",code); return buffer; } +#endif #endif |