Fix windows build Move #include's inside the #ifdef. Reviewed-by: Matt Caswell <matt@openssl.org>
diff --git a/crypto/sec_mem.c b/crypto/sec_mem.c index ea9523b..5bf8baa 100644 --- a/crypto/sec_mem.c +++ b/crypto/sec_mem.c
@@ -12,13 +12,13 @@ */ #include <openssl/crypto.h> #include <e_os.h> -#include <stdlib.h> -#include <unistd.h> -#include <string.h> -#include <assert.h> #if defined(OPENSSL_SYS_LINUX) || defined(OPENSSL_SYS_UNIX) # define IMPLEMENTED +# include <stdlib.h> +# include <string.h> +# include <assert.h> +# include <unistd.h> # include <sys/mman.h> # include <sys/param.h> #endif