diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-07-04 08:44:03 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-07-04 08:44:03 +0000 |
commit | 7f5828f0fba0172baacebf9f75594ab222db0159 (patch) | |
tree | 982ccdc60aef30647c88972bf68a319d7a01f784 /Src/Modules/zftp.c | |
parent | 41404fb6c723ce4544de1b216df37c9da5119f59 (diff) | |
download | zsh-7f5828f0fba0172baacebf9f75594ab222db0159.tar.gz zsh-7f5828f0fba0172baacebf9f75594ab222db0159.tar.xz zsh-7f5828f0fba0172baacebf9f75594ab222db0159.zip |
12149: guard against undefined h_errno in zftp
Diffstat (limited to 'Src/Modules/zftp.c')
-rw-r--r-- | Src/Modules/zftp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index b1aac07b8..e39994733 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -111,6 +111,10 @@ union zftp_sockaddr { #endif }; +#ifdef USE_LOCAL_H_ERRNO +int h_errno; +#endif + /* We use the RFC 2553 interfaces. If the functions don't exist in the library, simulate them. */ |