vendor/libgit2/src/util/rand.c in rugged-1.5.1 vs vendor/libgit2/src/util/rand.c in rugged-1.6.2

- old
+ new

@@ -12,9 +12,13 @@ #if defined(GIT_RAND_GETENTROPY) # include <sys/random.h> #endif +#if defined(GIT_WIN32) +# include <wincrypt.h> +#endif + static uint64_t state[4]; static git_mutex state_lock; typedef union { double f;