summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-06-29 21:23:37 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-06-29 21:23:37 +1000
commitcc9fd54a3636d98dbada76f71bd5e6e82495f9c0 (patch)
tree0fb7a17f698771a1a42759b7518a53404a694592
parent3b08df9da7e52576487cc409d5b42c337788d59a (diff)
- (dtucker) Bug #602: move #include of netdb.h to after in.h (fixes compiler
warnings on Solaris 2.5.1).
-rw-r--r--ChangeLog6
-rw-r--r--includes.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index fb542ae8..37cbe9cf 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 c30c3157..033cd91f 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 <netgroup.h>
#endif
-#if defined(HAVE_NETDB_H)
-# include <netdb.h>
-#endif
#ifdef HAVE_ENDIAN_H
# include <endian.h>
#endif
@@ -143,6 +140,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
#include <netinet/ip.h> /* For IPTOS macros */
#include <netinet/tcp.h>
#include <arpa/inet.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
#ifdef HAVE_RPC_TYPES_H
# include <rpc/types.h> /* For INADDR_LOOPBACK */
#endif