diff options
Diffstat (limited to 'src/crypto/tree-hash.c')
-rw-r--r-- | src/crypto/tree-hash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crypto/tree-hash.c b/src/crypto/tree-hash.c index eb98c31b7..812f08786 100644 --- a/src/crypto/tree-hash.c +++ b/src/crypto/tree-hash.c @@ -34,7 +34,9 @@ #include "hash-ops.h" -#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) +#ifdef _MSC_VER +#include <malloc.h> +#elif !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) #include <alloca.h> #else #include <stdlib.h> |