Fix merged build.
[tprouty/samba.git] / lib / replace / getaddrinfo.h
index dddd699b623f5ac3bd3da7288654600d67a5b8f2..cf040da2db47e19b21ae607a82b565f44d523639 100644 (file)
@@ -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);