explicitly declare h_errno -- not declared in BIND 4.9.3?
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 27 Jun 1994 23:36:23 +0000 (15:36 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 27 Jun 1994 23:36:23 +0000 (15:36 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.95

usr/src/usr.sbin/sendmail/src/conf.c

index 8d41efc..9e464df 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.94 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.95 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -2209,12 +2209,14 @@ strtol(nptr, endptr, base)
 \f/*
 **  SOLARIS_GETHOSTBY{NAME,ADDR} -- compatibility routines for gethostbyXXX
 **
 \f/*
 **  SOLARIS_GETHOSTBY{NAME,ADDR} -- compatibility routines for gethostbyXXX
 **
-**     Solaris versions prior through 2.3 don't properly deliver a
+**     Solaris versions at least through 2.3 don't properly deliver a
 **     canonical h_name field.  This tries to work around it.
 */
 
 #ifdef SOLARIS
 
 **     canonical h_name field.  This tries to work around it.
 */
 
 #ifdef SOLARIS
 
+extern int     h_errno;
+
 struct hostent *
 solaris_gethostbyname(name)
        const char *name;
 struct hostent *
 solaris_gethostbyname(name)
        const char *name;