From 1270a9d8ee0ea6ae533546b07a6714f351346600 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 20 Feb 2009 10:17:43 +0000 Subject: 26584: use bind/netdb.h where appropriate --- Src/Modules/tcp.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Src') diff --git a/Src/Modules/tcp.h b/Src/Modules/tcp.h index 231267e22..f69e246e0 100644 --- a/Src/Modules/tcp.h +++ b/Src/Modules/tcp.h @@ -37,7 +37,16 @@ #include #include + +#ifdef HAVE_BIND_NETDB_H +/* + * On systems where we're using -lbind, this has more definitions + * than the standard header. + */ +#include +#else #include +#endif /* * For some reason, configure doesn't always detect netinet/in_systm.h. -- cgit 1.4.1