MAXHOSTNAMELEN

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Sun Dec 31 19:04:54 EST 2000


I'm removing it right now.   If you have a platform that requires it
then include it in your configure.in section.

- Ben

On Sat, 30 Dec 2000, Tim Rice wrote:

> 
> ChangeLog
> 20001230
>  - (bal) if no MAXHOSTNAMELEN is defined.  Default to 64 character defination.
>    Suggested by Christian Kurz <shorty at debain.org>
> 
> This change causes compiler warnings on UnixWare 7, Solaris 7, others?
> ...
> gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -Isrc -DETCDI
> R=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=
> \"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c src/bsd-arc4random.c
> In file included from src/includes.h:59,
>                  from src/bsd-arc4random.c:25:
> /usr/include/netdb.h:302: warning: `MAXHOSTNAMELEN' redefined
> src/defines.h:82: warning: this is the location of the previous definition
> ...
> 
> Perhaps defines.h should have
> #ifdef HAVE_NETDB_H
> # include <netdb.h>
> #endif
> 
> 






More information about the openssh-unix-dev mailing list