summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-07-24 13:51:51 +1000
committerDamien Miller <djm@mindrot.org>2006-07-24 13:51:51 +1000
commitbe43ebf97579d13e108256c6440cb22a08f12ebc (patch)
treedb201b644de50d60224d90d082125f37d47b5988 /ssh-keyscan.c
parentd04f357ac24a6d40176cd53e58d0256b5130d98e (diff)
- 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@
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index a612dd1b..38c37e57 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"