From: Daniel Stenberg Date: Thu, 25 Mar 2004 07:52:11 +0000 (+0000) Subject: extern declare the sys_nerr variable. Required on Solaris at least. X-Git-Tag: c-ares-1_2_0~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c2825997ad8fb9bd859e094d561d1763425413d;p=curl extern declare the sys_nerr variable. Required on Solaris at least. --- diff --git a/lib/curl_strerror.c b/lib/curl_strerror.c index 1152aca4c..0d4ecbef8 100644 --- a/lib/curl_strerror.c +++ b/lib/curl_strerror.c @@ -488,6 +488,8 @@ get_winsock_error (int err, char *buf, size_t len) } #endif /* WIN32 && !__CYGWIN__ */ +extern int sys_nerr; + /* * Our thread-safe and smart strerror() replacement. */