diff options
| author | Riccardo Spagni <ric@spagni.net> | 2014-09-11 12:00:30 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2014-09-11 12:00:30 +0200 |
| commit | 6a70de32bf872d97f9eebc7564f1ee41ff149c36 (patch) | |
| tree | 33c0d997ecfbebe1705142c6e5fe9bd1e5aec278 /src/crypto/crypto.cpp | |
| parent | bf972c40fc62e3ad0062dcba34f5305332dc1194 (diff) | |
| parent | a40d5c18478342501ca53cd1ce8884c14bf2e397 (diff) | |
| download | monzero-core-6a70de32bf872d97f9eebc7564f1ee41ff149c36.tar.gz monzero-core-6a70de32bf872d97f9eebc7564f1ee41ff149c36.tar.xz monzero-core-6a70de32bf872d97f9eebc7564f1ee41ff149c36.zip | |
Merge pull request #127 from fluffypony/master
FreeBSD compatibility and default log level changes
Diffstat (limited to 'src/crypto/crypto.cpp')
| -rw-r--r-- | src/crypto/crypto.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/crypto/crypto.cpp b/src/crypto/crypto.cpp index bce3b1131..fa0199f20 100644 --- a/src/crypto/crypto.cpp +++ b/src/crypto/crypto.cpp @@ -28,7 +28,6 @@ // // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers -#include <alloca.h> #include <cassert> #include <cstddef> #include <cstdint> @@ -42,6 +41,12 @@ #include "crypto.h" #include "hash.h" +#ifndef __FreeBSD__ + #include <alloca.h> +#else + #include <stdlib.h> +#endif + namespace crypto { using std::abort; |
