diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-06-29 21:23:37 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-06-29 21:23:37 +1000 |
commit | cc9fd54a3636d98dbada76f71bd5e6e82495f9c0 (patch) | |
tree | 0fb7a17f698771a1a42759b7518a53404a694592 /includes.h | |
parent | 3b08df9da7e52576487cc409d5b42c337788d59a (diff) |
- (dtucker) Bug #602: move #include of netdb.h to after in.h (fixes compiler
warnings on Solaris 2.5.1).
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 } | |||
50 | #ifdef HAVE_NETGROUP_H | 50 | #ifdef HAVE_NETGROUP_H |
51 | # include <netgroup.h> | 51 | # include <netgroup.h> |
52 | #endif | 52 | #endif |
53 | #if defined(HAVE_NETDB_H) | ||
54 | # include <netdb.h> | ||
55 | #endif | ||
56 | #ifdef HAVE_ENDIAN_H | 53 | #ifdef HAVE_ENDIAN_H |
57 | # include <endian.h> | 54 | # include <endian.h> |
58 | #endif | 55 | #endif |
@@ -143,6 +140,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
143 | #include <netinet/ip.h> /* For IPTOS macros */ | 140 | #include <netinet/ip.h> /* For IPTOS macros */ |
144 | #include <netinet/tcp.h> | 141 | #include <netinet/tcp.h> |
145 | #include <arpa/inet.h> | 142 | #include <arpa/inet.h> |
143 | #if defined(HAVE_NETDB_H) | ||
144 | # include <netdb.h> | ||
145 | #endif | ||
146 | #ifdef HAVE_RPC_TYPES_H | 146 | #ifdef HAVE_RPC_TYPES_H |
147 | # include <rpc/types.h> /* For INADDR_LOOPBACK */ | 147 | # include <rpc/types.h> /* For INADDR_LOOPBACK */ |
148 | #endif | 148 | #endif |