Skip to content

Commit

Permalink
e_capi.c: rearrange #include-s to improve portability.
Browse files Browse the repository at this point in the history
PR: 2394
  • Loading branch information
Andy Polyakov committed Dec 14, 2010
1 parent b7ef916 commit c329c6b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions engines/e_capi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c329c6b

Please sign in to comment.