summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 1c506059..b217c55e 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -23,6 +23,9 @@
#include <errno.h>
#include <fcntl.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
#ifdef HAVE_PATHS_H
# include <paths.h>
#endif