diff options
author | Darren Tucker <dtucker@zip.com.au> | 2012-11-05 17:07:43 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2012-11-05 17:07:43 +1100 |
commit | 737f7aff365a47039fb48dcc06367e59863a4cee (patch) | |
tree | 34b7c55840f7be7c392c6bc8edace837fbff50e1 /auth2-pubkey.c | |
parent | f96ff18a9240e38e5d3c671f5f8f341099874aaf (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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 6a6217017..f9cc6c2c6 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -31,7 +31,9 @@ | |||
31 | 31 | ||
32 | #include <errno.h> | 32 | #include <errno.h> |
33 | #include <fcntl.h> | 33 | #include <fcntl.h> |
34 | #include <paths.h> | 34 | #ifdef HAVE_PATHS_H |
35 | # include <paths.h> | ||
36 | #endif | ||
35 | #include <pwd.h> | 37 | #include <pwd.h> |
36 | #include <signal.h> | 38 | #include <signal.h> |
37 | #include <stdio.h> | 39 | #include <stdio.h> |