mirror of
https://github.com/monero-project/monero.git
synced 2025-08-11 13:00:22 -04:00
FreeBSD alloca.h reference fixed
This commit is contained in:
parent
4ba680f294
commit
6afbdd9754
2 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue