summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-30 16:40:34 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:18 +1000
commit0a6a808113a2417306f99080708fbc160856ed7e (patch)
tree155b4eb00dbe2b72649fd039ea25669d5c579dd1 /lib/replace
parent4854afcfa13ad89db7e028d30700a8e1c027d0bf (diff)
downloadsamba-0a6a808113a2417306f99080708fbc160856ed7e.tar.gz
samba-0a6a808113a2417306f99080708fbc160856ed7e.tar.bz2
samba-0a6a808113a2417306f99080708fbc160856ed7e.zip
s4-waf: add getaddrinfo.c replacement if needed
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 7c060a92e6..bdfea8712f 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -314,6 +314,7 @@ def build(bld):
if not bld.CONFIG_SET('HAVE_INET_NTOP'): NET_SOURCES.append('inet_ntop.c')
if not bld.CONFIG_SET('HAVE_INET_PTON'): NET_SOURCES.append('inet_pton.c')
if not bld.CONFIG_SET('HAVE_SOCKETPAIR'): NET_SOURCES.append('socketpair.c')
+ if not bld.CONFIG_SET('HAVE_GETADDRINFO'):NET_SOURCES.append('getaddrinfo.c')
bld.SAMBA_SUBSYSTEM('LIBREPLACE_NETWORK', NET_SOURCES, deps='replace')