summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-11 18:55:05 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-07-11 18:55:05 +1000
commit2ee50c5cce20c67a4e67d2b56b1833ba4227975a (patch)
tree3e0ba71305589030d7fb64457e1eb734fd259761 /ssh-keygen.c
parent44c828fe29e61126ae5ff9e71e1a76a55f5fa34b (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.
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index b6959ca11..4e42d0cfc 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -22,7 +22,9 @@
22#include <openssl/pem.h> 22#include <openssl/pem.h>
23 23
24#include <fcntl.h> 24#include <fcntl.h>
25#include <paths.h> 25#ifdef HAVE_PATHS_H
26# include <paths.h>
27#endif
26#include <pwd.h> 28#include <pwd.h>
27 29
28#include "xmalloc.h" 30#include "xmalloc.h"