e_capi.c: rearrange #include-s to improve portability.
authorAndy Polyakov <appro@openssl.org>
Tue, 14 Dec 2010 20:39:17 +0000 (20:39 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 14 Dec 2010 20:39:17 +0000 (20:39 +0000)
PR: 2394

engines/e_capi.c

index 326155b4c65686d7c2f56fc37f0d0f3789ca4caa..1925bad5c139dcdc6f00157132277ed2ce82a13d 100644 (file)
 #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