From 7c4424531ff0dbe6958d6dd8beaeb978d3a6ebdb Mon Sep 17 00:00:00 2001 From: Matt Little Date: Thu, 25 Jan 2018 13:00:45 -0700 Subject: Support building cncrypto lib with msvc --- src/crypto/tree-hash.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/crypto/tree-hash.c') 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 +#elif !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) #include #else #include -- cgit v1.2.3