summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-06-23 18:33:02 -0400
committerRich Salz <rsalz@openssl.org>2015-06-23 18:40:12 -0400
commitd4dfb0baf9d112ff4bdecf996348808bf806bb5f (patch)
tree2405c4cace8e72db1087df9c834c6022254c2f17 /crypto
parenta16ca4e8aeef1178ce013569058afcec1f6ac77c (diff)
Fix windows build
Move #include's inside the #ifdef. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/sec_mem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/sec_mem.c b/crypto/sec_mem.c
index ea9523b2b9..5bf8baace1 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