summaryrefslogtreecommitdiffstats
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 6a621701..f9cc6c2c 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -31,7 +31,9 @@
#include <errno.h>
#include <fcntl.h>
-#include <paths.h>
+#ifdef HAVE_PATHS_H
+# include <paths.h>
+#endif
#include <pwd.h>
#include <signal.h>
#include <stdio.h>