diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-05-24 09:04:35 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-05-24 09:04:38 -0400 |
commit | a9b6957383a7c5dd9f2915c1535f4dc702a31bc0 (patch) | |
tree | 542f063ab5d599cc9337c524fdbcbf3c21dac9b9 | |
parent | 6378eef18f618620e7226765339fd4c9c1349174 (diff) | |
parent | c865ee1e73b65fa2e0283e386a9ab35d83f7af99 (diff) | |
download | bitcoin-a9b6957383a7c5dd9f2915c1535f4dc702a31bc0.tar.xz |
Merge #13314: Fix FreeBSD build by including utilstrencodings.h
c865ee1e73 Fix FreeBSD build by including utilstrencodings.h (Wladimir J. van der Laan)
Pull request description:
`random.cpp` needs to explicitly include `utilstrencodings.h` to get `ARRAYLEN`. This fixes the FreeBSD build.
This was broken in 84f41946b9026e8bf7bc44ed848dfb945394b693 (#13236).
Tree-SHA512: bdc2a28411ae217e40697c0315ef5a37cc2f5b6bc7bbde16684fb7343d1c1c620d67777a88e609a2190115edb08b823cfb5d31ed16356a7cb0d00c3b6f877c0e
-rw-r--r-- | src/random.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/random.cpp b/src/random.cpp index 491272d5f3..fee6c2d92a 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -34,6 +34,7 @@ #include <sys/random.h> #endif #ifdef HAVE_SYSCTL_ARND +#include <utilstrencodings.h> // for ARRAYLEN #include <sys/sysctl.h> #endif |