- 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-keyscan.c b/ssh-keyscan.c
index a612dd1..38c37e5 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.66 2006/07/10 16:37:36 stevesk Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.67 2006/07/12 22:28:52 stevesk Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
*
@@ -11,12 +11,15 @@
#include "openbsd-compat/sys-queue.h"
#include <sys/resource.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
#include <errno.h>
#include <stdarg.h>
+#include <setjmp.h>
#include <openssl/bn.h>
-#include <setjmp.h>
#include "xmalloc.h"
#include "ssh.h"
#include "ssh1.h"