aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/tree-hash.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-14 13:02:58 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-14 13:02:58 +0200
commit9f24e57dc225a26583571792caa0a948904ef21c (patch)
tree73d9603806fbabf485e128fb9b020758c4f3f30c /src/crypto/tree-hash.c
parentMerge pull request #4380 (diff)
parentNetBSD support (diff)
downloadmonero-9f24e57dc225a26583571792caa0a948904ef21c.tar.xz
Merge pull request #4326
bcda7adc NetBSD support (thomasvaughan)
Diffstat (limited to 'src/crypto/tree-hash.c')
-rw-r--r--src/crypto/tree-hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/tree-hash.c b/src/crypto/tree-hash.c
index 57c38b86b..b2dc3ffb2 100644
--- a/src/crypto/tree-hash.c
+++ b/src/crypto/tree-hash.c
@@ -36,7 +36,8 @@
#ifdef _MSC_VER
#include <malloc.h>
-#elif !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+#elif !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) \
+ && !defined(__NetBSD__)
#include <alloca.h>
#else
#include <stdlib.h>