From 26d108d468528c9596f0a86e3953a7e36395fe71 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 24 Sep 2013 14:09:26 -0700 Subject: [PATCH] MSVC fixes for randombytes_sysrandom.c --- .../randombytes/sysrandom/randombytes_sysrandom.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c index eec5e55c..c82cb563 100644 --- a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +++ b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c @@ -1,19 +1,21 @@ #include -#include +#ifndef _WIN32 +# include +#endif #include #include #include #include -#ifndef _WIN32 -# include -#endif #include #include #include #include -#include +#ifndef _WIN32 +# include +# include +#endif #include "randombytes.h" #include "randombytes_sysrandom.h"