aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_strerror.c2
1 files changed, 2 insertions, 0 deletions
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.
*/