summaryrefslogtreecommitdiff
path: root/dns.c
diff options
context:
space:
mode:
authordjm <djm>2006-07-24 04:51:00 +0000
committerdjm <djm>2006-07-24 04:51:00 +0000
commit7ea5eb3cef4bd3b092e44388ebdeb7e6734d9906 (patch)
tree039f954f22543d3c9ff40f512da5f9a448d7f836 /dns.c
parentf44a8a6c250774a42750f709820ac2d8f52ef32b (diff)
downloadopenssh-7ea5eb3cef4bd3b092e44388ebdeb7e6734d9906.tar.gz
- (djm) [acss.c auth-krb5.c auth-options.c auth-pam.c auth-shadow.c]
[canohost.c channels.c cipher-acss.c defines.h dns.c gss-genr.c] [gss-serv-krb5.c gss-serv.c log.h loginrec.c logintest.c readconf.c] [servconf.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c] [ssh.c sshconnect.c sshd.c openbsd-compat/bindresvport.c] [openbsd-compat/bsd-arc4random.c openbsd-compat/bsd-misc.c] [openbsd-compat/getrrsetbyname.c openbsd-compat/glob.c] [openbsd-compat/mktemp.c openbsd-compat/port-linux.c] [openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c] [openbsd-compat/setproctitle.c openbsd-compat/xmmap.c] make the portable tree compile again - sprinkle unistd.h and string.h back in. Don't redefine __unused, as it turned out to be used in headers on Linux, and replace its use in auth-pam.c with ARGSUSED
Diffstat (limited to 'dns.c')
-rw-r--r--dns.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dns.c b/dns.c
index 5f123a2e..c9368b96 100644
--- a/dns.c
+++ b/dns.c
@@ -30,9 +30,7 @@
#include <sys/types.h>
#include <sys/socket.h>
-#if defined(HAVE_NETDB_H)
-# include <netdb.h>
-#endif
+#include <netdb.h>
#include <string.h>
#include "xmalloc.h"