diff --git a/src/crypto/tree-hash.c b/src/crypto/tree-hash.c index b700e64a..2909f319 100644 --- a/src/crypto/tree-hash.c +++ b/src/crypto/tree-hash.c @@ -8,8 +8,9 @@ #include #include "hash-ops.h" -#include "malloc.h" - +#ifdef _M_ARM64 + #include "malloc.h" +#endif void tree_hash(const char (*hashes)[HASH_SIZE], size_t count, char *root_hash) { assert(count > 0); if (count == 1) {