commit | 737f7aff365a47039fb48dcc06367e59863a4cee | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Mon Nov 05 17:07:43 2012 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Mon Nov 05 17:07:43 2012 +1100 |
tree | 34b7c55840f7be7c392c6bc8edace837fbff50e1 | |
parent | f96ff18a9240e38e5d3c671f5f8f341099874aaf [diff] [blame] |
- (dtucker) [auth2-pubkey.c] wrap paths.h in an ifdef for platforms that don't have it. Spotted by tim@.
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 6a62170..f9cc6c2 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>