summaryrefslogtreecommitdiffstats
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-11-05 17:07:43 +1100
committerDarren Tucker <dtucker@zip.com.au>2012-11-05 17:07:43 +1100
commit737f7aff365a47039fb48dcc06367e59863a4cee (patch)
tree34b7c55840f7be7c392c6bc8edace837fbff50e1 /auth2-pubkey.c
parentf96ff18a9240e38e5d3c671f5f8f341099874aaf (diff)
- (dtucker) [auth2-pubkey.c] wrap paths.h in an ifdef for platforms that
don't have it. Spotted by tim@.
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>