summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-17 14:02:20 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:13 +0100
commit1b73fcadb2ffa4c9d538c027848c8aa6ceafdb0e (patch)
treee4480a1d8864b4029cfeae206b98865af518051c
parentc68e3d8d652109edd95999755b31fd123bbffc90 (diff)
downloadsamba-1b73fcadb2ffa4c9d538c027848c8aa6ceafdb0e.tar.gz
samba-1b73fcadb2ffa4c9d538c027848c8aa6ceafdb0e.tar.bz2
samba-1b73fcadb2ffa4c9d538c027848c8aa6ceafdb0e.zip
r25686: Added in missing def for AI_ADDRCONFIG.
Jeremy. (cherry picked from commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf) (This used to be commit 5d2995c413ff3da801c40fc6d631e2cd443695e3)
-rw-r--r--source4/lib/replace/getaddrinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/getaddrinfo.h b/source4/lib/replace/getaddrinfo.h
index ed678bd065..3e1fea8c4c 100644
--- a/source4/lib/replace/getaddrinfo.h
+++ b/source4/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