aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-06-04 05:21:13 +0000
committerBen Laurie <ben@openssl.org>2008-06-04 05:21:13 +0000
commitf79262e94bb3564e3af597ad81729f29c411bfcc (patch)
tree996849dc8f71d23db269b1ad042c64fbab8c7b7b
parent7d537d4fc77931181e1e8ff24e7bd5bc856b45f4 (diff)
downloadopenssl-f79262e94bb3564e3af597ad81729f29c411bfcc.tar.gz
Only include windows headers when under windows.
-rw-r--r--engines/e_capi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_capi.c b/engines/e_capi.c
index f56f8b53f0..c7833fc173 100644
--- a/engines/e_capi.c
+++ b/engines/e_capi.c
@@ -54,8 +54,6 @@
#include <stdio.h>
#include <string.h>
-#include <windows.h>
-#include <wincrypt.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/engine.h>
@@ -70,6 +68,8 @@
#define _WIN32_WINNT 0x400
#endif
+#include <windows.h>
+#include <wincrypt.h>
#include "e_capi_err.h"
#include "e_capi_err.c"