From 6c2825997ad8fb9bd859e094d561d1763425413d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 25 Mar 2004 07:52:11 +0000 Subject: extern declare the sys_nerr variable. Required on Solaris at least. --- lib/curl_strerror.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/curl_strerror.c') 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. */ -- cgit v1.2.3