summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/replace/getaddrinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/getaddrinfo.h b/source3/lib/replace/getaddrinfo.h
index ed678bd065..3e1fea8c4c 100644
--- a/source3/lib/replace/getaddrinfo.h
+++ b/source3/lib/replace/getaddrinfo.h
@@ -78,6 +78,10 @@ TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#endif
#endif
+#ifndef AI_ADDRCONFIG
+#define AI_ADDRCONFIG 0x0020
+#endif
+
#ifndef NI_NUMERICHOST
#define NI_NUMERICHOST 1
#endif