diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-25 13:43:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-25 13:43:19 +0000 |
commit | 3ecf63fa66e268c8a76996f8d453cca12cfae324 (patch) | |
tree | 038205447937c6893ed588b2f3a090cea2348e0a /lib | |
parent | 762dcf0780b0100f50fad21a5d3e5e5613def267 (diff) |
win32 doesn't need and even doesn't build if we extern declare sys_nerr
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strerror.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index 32ece136e..a6f25d0c4 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -488,7 +488,9 @@ get_winsock_error (int err, char *buf, size_t len) } #endif /* WIN32 && !__CYGWIN__ */ +#ifndef WIN32 extern int sys_nerr; +#endif /* * Our thread-safe and smart strerror() replacement. |