diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-25 07:52:11 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-25 07:52:11 +0000 |
commit | 6c2825997ad8fb9bd859e094d561d1763425413d (patch) | |
tree | 44b8fb8fe796769ac056822b149ff8d6d8025bc2 | |
parent | accc6eb91acbf6e810aa2e88fa112e4baacb65a7 (diff) |
extern declare the sys_nerr variable. Required on Solaris at least.
-rw-r--r-- | lib/curl_strerror.c | 2 |
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. */ |