summaryrefslogtreecommitdiffstats
path: root/dns.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 /dns.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 'dns.c')
-rw-r--r--dns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dns.c b/dns.c
index 504b5d72e..16954a6a1 100644
--- a/dns.c
+++ b/dns.c
@@ -30,7 +30,9 @@
#include <sys/types.h>
#include <sys/socket.h>
-#include <netdb.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
#include "xmalloc.h"
#include "key.h"