summaryrefslogtreecommitdiff
path: root/ftp.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-01-20 22:34:34 +0000
committerewt <devnull@localhost>1997-01-20 22:34:34 +0000
commit1c6087767f4b404b26833a2055aa73dbed8f6110 (patch)
treef23df62977344419492525c89657ed2501356058 /ftp.c
parent11fda8ed4ff0573b9436e73a3b6eae958563a56a (diff)
downloadrpm-1c6087767f4b404b26833a2055aa73dbed8f6110.tar.gz
rpm-1c6087767f4b404b26833a2055aa73dbed8f6110.tar.bz2
rpm-1c6087767f4b404b26833a2055aa73dbed8f6110.zip
defined HAVE_HERRNO if necessary
CVS patchset: 1328 CVS date: 1997/01/20 22:34:34
Diffstat (limited to 'ftp.c')
-rw-r--r--ftp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftp.c b/ftp.c
index 06cead55e..765197252 100644
--- a/ftp.c
+++ b/ftp.c
@@ -19,6 +19,10 @@
# include <netinet/in_systm.h>
#endif
+#if ! HAVE_HERRNO
+extern int h_errno;
+#endif
+
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>