defined HAVE_HERRNO if necessary
authorewt <devnull@localhost>
Mon, 20 Jan 1997 22:34:34 +0000 (22:34 +0000)
committerewt <devnull@localhost>
Mon, 20 Jan 1997 22:34:34 +0000 (22:34 +0000)
CVS patchset: 1328
CVS date: 1997/01/20 22:34:34

ftp.c

diff --git a/ftp.c b/ftp.c
index 06cead5..7651972 100644 (file)
--- a/ftp.c
+++ b/ftp.c
 # include <netinet/in_systm.h>
 #endif
 
+#if ! HAVE_HERRNO
+extern int h_errno;
+#endif
+
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>