diff options
author | Ben Laurie <ben@links.org> | 2015-10-03 16:43:21 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2015-10-24 17:34:21 +0100 |
commit | 84cf97af0691290d53c0a51807fa15f0843219ef (patch) | |
tree | 8277e43442178ab13a80520dbc2ad443b89f64b0 /crypto/engine | |
parent | 2f1a5d1694c4b59ea94115ed4e9577c5bb826c26 (diff) |
Improve make depend.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_cryptodev.c | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c index 65fc29e472..c67ecc5515 100644 --- a/crypto/engine/eng_cryptodev.c +++ b/crypto/engine/eng_cryptodev.c @@ -42,6 +42,24 @@ # endif #endif +#include <sys/types.h> +#ifdef HAVE_CRYPTODEV +# include <crypto/cryptodev.h> +#endif +#include <openssl/dh.h> +#include <openssl/dsa.h> +#include <openssl/err.h> +#include <openssl/rsa.h> +#include <sys/ioctl.h> +#include <errno.h> +#include <stdio.h> +#include <unistd.h> +#include <fcntl.h> +#include <stdarg.h> +#include <syslog.h> +#include <errno.h> +#include <string.h> + #ifndef HAVE_CRYPTODEV void ENGINE_load_cryptodev(void) @@ -52,22 +70,6 @@ void ENGINE_load_cryptodev(void) #else -# include <sys/types.h> -# include <crypto/cryptodev.h> -# include <openssl/dh.h> -# include <openssl/dsa.h> -# include <openssl/err.h> -# include <openssl/rsa.h> -# include <sys/ioctl.h> -# include <errno.h> -# include <stdio.h> -# include <unistd.h> -# include <fcntl.h> -# include <stdarg.h> -# include <syslog.h> -# include <errno.h> -# include <string.h> - struct dev_crypto_state { struct session_op d_sess; int d_fd; |