summaryrefslogtreecommitdiff
path: root/dns.c
diff options
context:
space:
mode:
authordjm <djm>2006-07-24 03:51:51 +0000
committerdjm <djm>2006-07-24 03:51:51 +0000
commit2c8f0bce4bd86eaefb32534541a25bb425eafb28 (patch)
tree7b62f2c991bae8bb9036164f2de2260126da7d83 /dns.c
parent24969496a4023e0553168ea012ac11c0bdb31c15 (diff)
downloadopenssh-2c8f0bce4bd86eaefb32534541a25bb425eafb28.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 'dns.c')
-rw-r--r--dns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dns.c b/dns.c
index 504b5d72..16954a6a 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"