Page MenuHomePhabricator

Fix FreeBSD build by including utilstrencodings.h
ClosedPublic

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

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC3f0dc5337ceb: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Mar 5 2019, 09:30
Herald added a reviewer: Restricted Project. · View Herald TranscriptMar 5 2019, 09:30
Herald added a subscriber: schancel. · View Herald Transcript
deadalnix accepted this revision.Mar 5 2019, 15:45
This revision is now accepted and ready to land.Mar 5 2019, 15:45
This revision was automatically updated to reflect the committed changes.