summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh-keygen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index b6959ca1..4e42d0cf 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -22,7 +22,9 @@
#include <openssl/pem.h>
#include <fcntl.h>
-#include <paths.h>
+#ifdef HAVE_PATHS_H
+# include <paths.h>
+#endif
#include <pwd.h>
#include "xmalloc.h"