summaryrefslogtreecommitdiff
path: root/ares_build.h.in
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-29 14:05:21 +0000
committerYang Tse <yangsita@gmail.com>2009-04-29 14:05:21 +0000
commit951aa2723ccfd81b01b16232a5345a5cea34825d (patch)
tree9479df4e3e52287971dccc991eb520fbb27c4dbc /ares_build.h.in
parent494e1eb1a6203a7771738ef7d667906f433e5262 (diff)
downloadc-ares-951aa2723ccfd81b01b16232a5345a5cea34825d.tar.gz
c-ares-951aa2723ccfd81b01b16232a5345a5cea34825d.tar.bz2
c-ares-951aa2723ccfd81b01b16232a5345a5cea34825d.zip
ares_build.h Windows follow-up
Diffstat (limited to 'ares_build.h.in')
-rw-r--r--ares_build.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/ares_build.h.in b/ares_build.h.in
index 21ef2fe..6d2f87c 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 <windows.h>
+# include <winsock2.h>
+# include <ws2tcpip.h>
+#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