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
@@ -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 |