From 4c43660f6896705ae1c5d18b0e25996c227cc769 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Wed, 3 Jul 2013 14:41:47 -0400 Subject: [PATCH] libsodium now cross compiles correctly for Windows from Linux. --- .../randombytes/salsa20/randombytes_salsa20_random.c | 4 ++-- src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c | 4 ++-- src/libsodium/sodium/utils.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c b/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c index b5c8e889..cf617360 100644 --- a/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +++ b/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c @@ -20,8 +20,8 @@ #include "utils.h" #ifdef _WIN32 -# include -# include +# include +# include # include #endif diff --git a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c index 84a1c857..eec5e55c 100644 --- a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +++ b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c @@ -20,8 +20,8 @@ #include "utils.h" #ifdef _WIN32 -# include -# include +# include +# include #endif typedef struct SysRandom_ { diff --git a/src/libsodium/sodium/utils.c b/src/libsodium/sodium/utils.c index bf365ea3..3b9bb6f4 100644 --- a/src/libsodium/sodium/utils.c +++ b/src/libsodium/sodium/utils.c @@ -8,8 +8,8 @@ #include "utils.h" #include "randombytes.h" #ifdef _WIN32 -# include -# include +# include +# include #endif void