From cfafa64f83a9284599f0f936565aaa40eef2163e Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sat, 19 Sep 2009 17:53:56 -0700 Subject: [PATCH] Maybe include , maybe include --- cf/roken-frag.m4 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/cf/roken-frag.m4 b/cf/roken-frag.m4 index 8c07725d6..b1a01420b 100644 --- a/cf/roken-frag.m4 +++ b/cf/roken-frag.m4 @@ -594,16 +594,26 @@ rk_CHECK_VAR(h_errno, #endif #ifdef HAVE_NETDB_H #include -#endif]) +#endif +#ifdef HAVE_WS2TCPIP_H +#include +#endif +]) rk_CHECK_VAR(h_errlist, [#ifdef HAVE_NETDB_H #include +#endif +#ifdef HAVE_WS2TCPIP_H +#include #endif]) rk_CHECK_VAR(h_nerr, [#ifdef HAVE_NETDB_H #include +#endif +#ifdef HAVE_WS2TCPIP_H +#include #endif]) rk_CHECK_VAR([__progname], @@ -665,7 +675,9 @@ AC_HAVE_TYPE([struct sockaddr_storage], [ #endif]) AC_HAVE_TYPE([struct addrinfo], [ #include +#ifdef HAVE_NETDB_H #include +#endif #ifdef HAVE_WS2TCPIP_H #include #endif])