summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-20 22:38:27 +1100
committerDamien Miller <djm@mindrot.org>2000-01-20 22:38:27 +1100
commiteca71f84cb864571d677d5d1098d5c9698312607 (patch)
treeaac634bfe37c1d620871961e538a8fec1827f7f0 /defines.h
parent7d80e3484b5a41249bee4d43b4c9a58d6ebe90a6 (diff)
downloadopenssh-git-eca71f84cb864571d677d5d1098d5c9698312607.tar.gz
- 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 1a9898b2..3db1d0d9 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 */