summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-20 12:38:27 +0100
committerDamien Miller <djm@mindrot.org>2000-01-20 12:38:27 +0100
commiteca71f84cb864571d677d5d1098d5c9698312607 (patch)
treeaac634bfe37c1d620871961e538a8fec1827f7f0 /defines.h
parent - Linux/glibc-2.1.2 takes a *long* time to look up names for AF_UNSPEC (diff)
downloadopenssh-eca71f84cb864571d677d5d1098d5c9698312607.tar.xz
openssh-eca71f84cb864571d677d5d1098d5c9698312607.zip
- Don't use getaddrinfo on AIX
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 1a9898b28..3db1d0d95 100644
--- a/defines.h
+++ b/defines.h
@@ -247,4 +247,8 @@ typedef unsigned int size_t;
# define PAM_STRERROR(a,b) pam_strerror((a),(b))
#endif
+#if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO)
+# undef HAVE_GETADDRINFO
+#endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */
+
#endif /* _DEFINES_H */