extern declare the sys_nerr variable. Required on Solaris at least.

This commit is contained in:
Daniel Stenberg 2004-03-25 07:52:11 +00:00
parent accc6eb91a
commit 6c2825997a

View File

@ -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.
*/