From cc9fd54a3636d98dbada76f71bd5e6e82495f9c0 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 29 Jun 2003 21:23:37 +1000 Subject: [PATCH] - (dtucker) Bug #602: move #include of netdb.h to after in.h (fixes compiler warnings on Solaris 2.5.1). --- ChangeLog | 6 +++++- includes.h | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb542ae8f..37cbe9cf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20030629 + - (dtucker) Bug #602: move #include of netdb.h to after in.h (fixes compiler + warnings on Solaris 2.5.1). + 20030628 - (djm) Bug #591: use PKCS#15 private key label as a comment in case of OpenSC. Report and patch from larsch@trustcenter.de @@ -607,4 +611,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.2832 2003/06/29 11:20:04 dtucker Exp $ +$Id: ChangeLog,v 1.2833 2003/06/29 11:23:37 dtucker Exp $ diff --git a/includes.h b/includes.h index c30c31577..033cd91fa 100644 --- a/includes.h +++ b/includes.h @@ -50,9 +50,6 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #ifdef HAVE_NETGROUP_H # include #endif -#if defined(HAVE_NETDB_H) -# include -#endif #ifdef HAVE_ENDIAN_H # include #endif @@ -143,6 +140,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include /* For IPTOS macros */ #include #include +#if defined(HAVE_NETDB_H) +# include +#endif #ifdef HAVE_RPC_TYPES_H # include /* For INADDR_LOOPBACK */ #endif