Page MenuHomePhabricator

Fix FreeBSD build by including utilstrencodings.h
ClosedPublic

Authored by Fabien on Mar 5 2019, 09:30.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR13314
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5141
Build 8345: Bitcoin ABC Buildbot (legacy)
Build 8344: arc lint + arc unit