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
Lint
Lint Not Applicable
Unit
Tests Not Applicable