HomePhabricator

Fix FreeBSD build by including utilstrencodings.h

Description

Fix FreeBSD build by including utilstrencodings.h

Summary:
random.cpp needs to explicitly include utilstrencodings.h to get
ARRAYLEN. This fixes the FreeBSD build.

Backport of core PR13314

This patch has been proposed by Alex Dupre on the github mirror:
https://github.com/Bitcoin-ABC/bitcoin-abc/pull/304

Test Plan: Build and run bitcoind on FreeBSD

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2647

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on May 23 2018, 19:09
FabienCommitted on Mar 5 2019, 18:19
FabienPushed on Mar 6 2019, 09:27
Reviewer
Restricted Project
Differential Revision
D2647: Fix FreeBSD build by including utilstrencodings.h
Parents
rSTAGING48eef2eed953: Added Execute(JSONRPCRequest) overload in RPCCommandBase for wallet and help…
Branches
Unknown
Tags
Unknown