commit | be43ebf97579d13e108256c6440cb22a08f12ebc | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Mon Jul 24 13:51:51 2006 +1000 |
committer | Damien Miller <djm@mindrot.org> | Mon Jul 24 13:51:51 2006 +1000 |
tree | db201b644de50d60224d90d082125f37d47b5988 | |
parent | d04f357ac24a6d40176cd53e58d0256b5130d98e [diff] [blame] |
- 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@
diff --git a/dns.c b/dns.c index 504b5d7..16954a6 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"