mirror of git://anongit.mindrot.org/openssh.git
- Don't use getaddrinfo on AIX
This commit is contained in:
parent
7d80e3484b
commit
eca71f84cb
|
@ -1,3 +1,6 @@
|
||||||
|
20000120
|
||||||
|
- Don't use getaddrinfo on AIX
|
||||||
|
|
||||||
20000119
|
20000119
|
||||||
- SCO compile fixes from Gary E. Miller <gem@rellim.com>
|
- SCO compile fixes from Gary E. Miller <gem@rellim.com>
|
||||||
- Compile fix from Darren_Hall@progressive.com
|
- Compile fix from Darren_Hall@progressive.com
|
||||||
|
|
|
@ -138,6 +138,9 @@
|
||||||
/* Use IPv4 for connection by default, IPv6 can still if explicity asked */
|
/* Use IPv4 for connection by default, IPv6 can still if explicity asked */
|
||||||
#undef IPV4_DEFAULT
|
#undef IPV4_DEFAULT
|
||||||
|
|
||||||
|
/* getaddrinfo is broken (if present) */
|
||||||
|
#undef BROKEN_GETADDRINFO
|
||||||
|
|
||||||
@BOTTOM@
|
@BOTTOM@
|
||||||
|
|
||||||
/* ******************* Shouldn't need to edit below this line ************** */
|
/* ******************* Shouldn't need to edit below this line ************** */
|
||||||
|
|
|
@ -55,6 +55,7 @@ dnl Check for some target-specific stuff
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-aix*)
|
*-*-aix*)
|
||||||
AFS_LIBS="-lld"
|
AFS_LIBS="-lld"
|
||||||
|
AC_DEFINE(BROKEN_GETADDRINFO)
|
||||||
;;
|
;;
|
||||||
*-*-hpux10*)
|
*-*-hpux10*)
|
||||||
if test -z "$GCC"; then
|
if test -z "$GCC"; then
|
||||||
|
|
|
@ -247,4 +247,8 @@ typedef unsigned int size_t;
|
||||||
# define PAM_STRERROR(a,b) pam_strerror((a),(b))
|
# define PAM_STRERROR(a,b) pam_strerror((a),(b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO)
|
||||||
|
# undef HAVE_GETADDRINFO
|
||||||
|
#endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */
|
||||||
|
|
||||||
#endif /* _DEFINES_H */
|
#endif /* _DEFINES_H */
|
||||||
|
|
Loading…
Reference in New Issue