From f698831f0ae0cd86225eb647ae4aeb813f08d3b5 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 25 Sep 2008 01:51:49 -0400 Subject: Sync with upstream changes --- replace/getaddrinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'replace/getaddrinfo.h') diff --git a/replace/getaddrinfo.h b/replace/getaddrinfo.h index dddd699b6..cf040da2d 100644 --- a/replace/getaddrinfo.h +++ b/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); -- cgit