- Compilation fix from Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
diff --git a/CREDITS b/CREDITS
index 05057fe..f101256 100644
--- a/CREDITS
+++ b/CREDITS
@@ -20,6 +20,7 @@
 jonchen (email unknown) - the original author of PAM support of SSH
 Juergen Keil <jk@tools.de> - scp bugfixing
 Kees Cook <cook@cpoint.net> - scp fixes
+Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - Bugfixes
 Marc G. Fournier <marc.fournier@acadiau.ca> - Solaris patches
 Nalin Dahyabhai <nalin.dahyabhai@pobox.com> - PAM environment patch
 Niels Kristian Bech Jensen <nkbj@image.dk> - Assorted patches
diff --git a/ChangeLog b/ChangeLog
index 6805ff2..979e8ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
  - Added --with-pid-dir option
  - Released 1.2.1pre26
 
+ - Compilation fix from Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
+
 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 de1748f..7da8714 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 @@
 	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