summaryrefslogtreecommitdiffstats
path: root/canohost.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-07-24 05:51:51 +0200
committerDamien Miller <djm@mindrot.org>2006-07-24 05:51:51 +0200
commitbe43ebf97579d13e108256c6440cb22a08f12ebc (patch)
treedb201b644de50d60224d90d082125f37d47b5988 /canohost.c
parent - jmc@cvs.openbsd.org 2006/07/12 13:39:55 (diff)
downloadopenssh-be43ebf97579d13e108256c6440cb22a08f12ebc.tar.xz
openssh-be43ebf97579d13e108256c6440cb22a08f12ebc.zip
- 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 'canohost.c')
-rw-r--r--canohost.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c
index 4566e2ab1..da5131de3 100644
--- a/canohost.c
+++ b/canohost.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: canohost.c,v 1.56 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: canohost.c,v 1.57 2006/07/12 22:28:51 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -21,6 +21,9 @@
#include <ctype.h>
#include <errno.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
#include "packet.h"
#include "xmalloc.h"