summaryrefslogtreecommitdiff
path: root/canohost.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 /canohost.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 'canohost.c')
-rw-r--r--canohost.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c
index 4566e2ab..da5131de 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"