diff options
-rw-r--r-- | random_seed.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/random_seed.c b/random_seed.c index 3b520d4..c47d271 100644 --- a/random_seed.c +++ b/random_seed.c @@ -181,7 +181,10 @@ static int get_dev_random_seed() #define HAVE_CRYPTGENRANDOM 1 #include <windows.h> +#include <wincrypt.h> +#ifndef __GNUC__ #pragma comment(lib, "advapi32.lib") +#endif static int get_cryptgenrandom_seed() { |