From 951aa2723ccfd81b01b16232a5345a5cea34825d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 29 Apr 2009 14:05:21 +0000 Subject: [PATCH] ares_build.h Windows follow-up --- ares_build.h.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ares_build.h.in b/ares_build.h.in index 21ef2fee..6d2f87ca 100644 --- a/ares_build.h.in +++ b/ares_build.h.in @@ -70,6 +70,18 @@ /* EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY */ /* ================================================================ */ +/* Configure process defines this to 1 when it finds out that system */ +/* header file ws2tcpip.h must be included by the external interface. */ +#undef CARES_PULL_WS2TCPIP_H +#ifdef CARES_PULL_WS2TCPIP_H +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# endif +# include +# include +# include +#endif + /* Configure process defines this to 1 when it finds out that system */ /* header file sys/types.h must be included by the external interface. */ #undef CARES_PULL_SYS_TYPES_H