summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-17 14:25:25 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-17 14:25:25 +0200
commit7106cd9fd5f80bc7d73b061bba51904219400829 (patch)
tree2647b951ec0b87a1b8ca4b6878ca624a7477a5d1 /lib
parentd6983b2e4598137bbd050ca879b34272e3b952c6 (diff)
downloadsamba-7106cd9fd5f80bc7d73b061bba51904219400829.tar.gz
samba-7106cd9fd5f80bc7d73b061bba51904219400829.tar.bz2
samba-7106cd9fd5f80bc7d73b061bba51904219400829.zip
Fix merged build.
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/getaddrinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/getaddrinfo.h b/lib/replace/getaddrinfo.h
index dddd699b62..cf040da2db 100644
--- a/lib/replace/getaddrinfo.h
+++ b/lib/replace/getaddrinfo.h
@@ -75,7 +75,9 @@ in lib/replace we use rep_xxx()
#undef getnameinfo
#endif
#define getnameinfo rep_getnameinfo
+#ifndef HAVE_GETNAMEINFO
#define HAVE_GETNAMEINFO
+#endif
extern int rep_getaddrinfo(const char *node, const char *service,
const struct addrinfo * hints, struct addrinfo ** res);