diff --git a/.gitignore b/.gitignore index 44198b5..e147cfc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ Makefile *.a *.so *.dylib +*.dll +*.exe keva-stratum # Configs diff --git a/cnutil/src/crypto/tree-hash.c b/cnutil/src/crypto/tree-hash.c index b2dc3ff..8907173 100644 --- a/cnutil/src/crypto/tree-hash.c +++ b/cnutil/src/crypto/tree-hash.c @@ -34,7 +34,7 @@ #include "hash-ops.h" -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__MINGW64__) || defined(__MINGW32__) #include #elif !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) \ && !defined(__NetBSD__)