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: curl-7_11_2~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c2825997ad8fb9bd859e094d561d1763425413d;p=thirdparty%2Fcurl.git extern declare the sys_nerr variable. Required on Solaris at least. --- diff --git a/lib/curl_strerror.c b/lib/curl_strerror.c index 1152aca4c3..0d4ecbef83 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. */