commit | 2ee50c5cce20c67a4e67d2b56b1833ba4227975a | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Tue Jul 11 18:55:05 2006 +1000 |
committer | Darren Tucker <dtucker@zip.com.au> | Tue Jul 11 18:55:05 2006 +1000 |
tree | 3e0ba71305589030d7fb64457e1eb734fd259761 | |
parent | 44c828fe29e61126ae5ff9e71e1a76a55f5fa34b [diff] [blame] |
- (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c openbsd-compat/daemon.c] Add includes needed by open(2). Conditionally include paths.h. Fixes build error on Solaris.
diff --git a/ssh-keygen.c b/ssh-keygen.c index b6959ca..4e42d0c 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"