summaryrefslogtreecommitdiff
path: root/sshconnect.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 /sshconnect.c
parentd04f357ac24a6d40176cd53e58d0256b5130d98e (diff)
downloadopenssh-git-be43ebf97579d13e108256c6440cb22a08f12ebc.tar.gz
- 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 'sshconnect.c')
-rw-r--r--sshconnect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c
index c9d6221d..fe9b4842 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.190 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.191 2006/07/12 22:28:52 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -24,6 +24,9 @@
#include <ctype.h>
#include <errno.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif