summaryrefslogtreecommitdiff
path: root/logintest.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 /logintest.c
parentd04f357ac24a6d40176cd53e58d0256b5130d98e (diff)
downloadopenssh-git-be43ebf97579d13e108256c6440cb22a08f12ebc.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 'logintest.c')
-rw-r--r--logintest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/logintest.c b/logintest.c
index 7e9fbbfb..0de928be 100644
--- a/logintest.c
+++ b/logintest.c
@@ -40,7 +40,9 @@
#include <stdio.h>
#include <string.h>
#include <pwd.h>
-#include <netdb.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif