From 8f926494419b922e3c005f06f65d4ea4523cdfda Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 16 Jan 2000 18:19:25 +1100 Subject: [PATCH] - Compilation fix from Kiyokazu SUTO --- CREDITS | 1 + ChangeLog | 2 ++ fake-getaddrinfo.h | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CREDITS b/CREDITS index 05057fe25..f1012569d 100644 --- a/CREDITS +++ b/CREDITS @@ -20,6 +20,7 @@ Jim Knoble - Many patches jonchen (email unknown) - the original author of PAM support of SSH Juergen Keil - scp bugfixing Kees Cook - scp fixes +Kiyokazu SUTO - Bugfixes Marc G. Fournier - Solaris patches Nalin Dahyabhai - PAM environment patch Niels Kristian Bech Jensen - Assorted patches diff --git a/ChangeLog b/ChangeLog index 6805ff2e0..979e8ca6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ - Added --with-pid-dir option - Released 1.2.1pre26 + - Compilation fix from Kiyokazu SUTO + 20000115 - Add --with-xauth-path configure directive and explicit test for /usr/openwin/bin/xauth for Solaris systems. Report from Anders diff --git a/fake-getaddrinfo.h b/fake-getaddrinfo.h index de1748f6f..7da87142d 100644 --- a/fake-getaddrinfo.h +++ b/fake-getaddrinfo.h @@ -7,6 +7,7 @@ #ifndef AI_PASSIVE # define AI_PASSIVE 1 +# define AI_CANONNAME 2 #endif #ifndef NI_NUMERICHOST @@ -25,7 +26,7 @@ struct addrinfo { char *ai_canonname; /* canonical name for hostname */ struct sockaddr *ai_addr; /* binary address */ struct addrinfo *ai_next; /* next structure in linked list */ -} +}; #endif /* !HAVE_STRUCT_ADDRINFO */ #ifndef HAVE_GETADDRINFO