extern declare the sys_nerr variable. Required on Solaris at least.
This commit is contained in:
parent
accc6eb91a
commit
6c2825997a
@ -488,6 +488,8 @@ get_winsock_error (int err, char *buf, size_t len)
|
|||||||
}
|
}
|
||||||
#endif /* WIN32 && !__CYGWIN__ */
|
#endif /* WIN32 && !__CYGWIN__ */
|
||||||
|
|
||||||
|
extern int sys_nerr;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Our thread-safe and smart strerror() replacement.
|
* Our thread-safe and smart strerror() replacement.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user