diff options
author | Andy Polyakov <appro@openssl.org> | 2010-12-14 21:39:17 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-12-14 21:39:17 +0100 |
commit | c329c6bac723dca746506d406517daf4463e501b (patch) | |
tree | d311fc76c9f11855b83d9e707d498010afad539a /engines | |
parent | First attempt at adding the possibility to set the pointer size for the build... (diff) | |
download | openssl-c329c6bac723dca746506d406517daf4463e501b.tar.xz openssl-c329c6bac723dca746506d406517daf4463e501b.zip |
e_capi.c: rearrange #include-s to improve portability.
PR: 2394
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_capi.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/engines/e_capi.c b/engines/e_capi.c index 326155b4c6..1925bad5c1 100644 --- a/engines/e_capi.c +++ b/engines/e_capi.c @@ -55,27 +55,26 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> -#include <malloc.h> -#ifndef alloca -# define alloca _alloca -#endif #include <openssl/crypto.h> -#include <openssl/buffer.h> -#include <openssl/bn.h> #ifdef OPENSSL_SYS_WIN32 #ifndef OPENSSL_NO_CAPIENG +#include <openssl/buffer.h> +#include <openssl/bn.h> #include <openssl/rsa.h> -#include <windows.h> - #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0400 #endif +#include <windows.h> #include <wincrypt.h> +#include <malloc.h> +#ifndef alloca +# define alloca _alloca +#endif /* * This module uses several "new" interfaces, among which is |