diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-07-11 18:55:05 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-07-11 18:55:05 +1000 |
commit | 2ee50c5cce20c67a4e67d2b56b1833ba4227975a (patch) | |
tree | 3e0ba71305589030d7fb64457e1eb734fd259761 | |
parent | 44c828fe29e61126ae5ff9e71e1a76a55f5fa34b (diff) |
- (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.
-rw-r--r-- | ssh-keygen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index b6959ca1..4e42d0cf 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" |