This file is part of MXE.
See index.html for further information.
mingw32 doesn't include wincrypt.h in windows.h, so the build fails.
This is basically
https://github.com/ams-cs/json-c/commit/ca0ebe0f71b806f73a20d5d5e0da78aba5de42be
--- a/random_seed.c 2014-04-11 02:41:08.000000000 +0200
+++ b/random_seed.c 2014-10-12 20:07:32.419043270 +0200
@@ -181,7 +181,10 @@
#define HAVE_CRYPTGENRANDOM 1
#include
+#include
+#ifndef __GNUC__
#pragma comment(lib, "advapi32.lib")
+#endif
static int get_cryptgenrandom_seed()
{