From 6a8832d83b4d86da285124ac13dc4f4d277a8e95 Mon Sep 17 00:00:00 2001
From: Gisle Vanem <gvanem@broadpark.no>
Date: Sat, 1 Nov 2008 15:03:16 +0000
Subject: [PATCH] Added '#define HAVE_GETADDRINFO'.

---
 lib/config-win32.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/config-win32.h b/lib/config-win32.h
index 0d10a04bb0..5ac22b9ef1 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -219,6 +219,13 @@
 #define HAVE_UTIME 1
 #endif
 
+/* The following 2 functions are strictly only available when
+ * _WIN32_WINNT is 0x0501 or larger. But we assume this value
+ * is defined. See below. */
+
+/* Define if you have the getaddrinfo function. */
+#define HAVE_GETADDRINFO 1
+
 /* Define if you have the getnameinfo function. */
 #define HAVE_GETNAMEINFO 1
 
-- 
GitLab