diff options
author | djm <djm> | 2010-03-13 21:37:49 +0000 |
---|---|---|
committer | djm <djm> | 2010-03-13 21:37:49 +0000 |
commit | cf19c248c2f70f51c9449cec7f1b1eb9a06d4e09 (patch) | |
tree | 14bf09a98c47728ad82a7c639127edb70cc55392 /ssh-pkcs11-helper.c | |
parent | f3cfb587de0914a7c972e257bd9841aee65c2abd (diff) | |
download | openssh-cf19c248c2f70f51c9449cec7f1b1eb9a06d4e09.tar.gz |
- (djm) [ssh-pkcs11-helper.c] Move #ifdef to after #defines to fix
compilation failure when !HAVE_DLOPEN. Reported by felix-mindrot
AT fefe.de
Diffstat (limited to 'ssh-pkcs11-helper.c')
-rw-r--r-- | ssh-pkcs11-helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c index d3bfb983..8e3f57ac 100644 --- a/ssh-pkcs11-helper.c +++ b/ssh-pkcs11-helper.c @@ -17,8 +17,6 @@ #include "includes.h" -#ifdef ENABLE_PKCS11 - #include <sys/types.h> #ifdef HAVE_SYS_TIME_H # include <sys/time.h> @@ -39,6 +37,8 @@ #include "authfd.h" #include "ssh-pkcs11.h" +#ifdef ENABLE_PKCS11 + /* borrows code from sftp-server and ssh-agent */ struct pkcs11_keyinfo { |