Only include windows headers when under windows.
authorBen Laurie <ben@openssl.org>
Wed, 4 Jun 2008 05:21:13 +0000 (05:21 +0000)
committerBen Laurie <ben@openssl.org>
Wed, 4 Jun 2008 05:21:13 +0000 (05:21 +0000)
engines/e_capi.c

index f56f8b5..c7833fc 100644 (file)
@@ -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"