- stevesk@cvs.openbsd.org 2006/07/12 22:28:52
     [auth-options.c canohost.c channels.c includes.h readconf.c servconf.c ssh-keyscan.c ssh.c sshconnect.c sshd.c]
     move #include <netdb.h> out of includes.h; ok djm@
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 1c50605..b217c55 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -23,6 +23,9 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #ifdef HAVE_PATHS_H
 # include <paths.h>
 #endif