From 6a710879028db6c8ae1ca08cc871ab5b90b39302 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 24 May 2018 09:04:35 -0400 Subject: [PATCH] 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 --- src/random.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/random.cpp b/src/random.cpp index a2e7272f3e..aaca8916ab 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -34,6 +34,7 @@ #include #endif #ifdef HAVE_SYSCTL_ARND +#include // for ARRAYLEN #include #endif