diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-23 21:09:03 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-24 09:51:47 +0200 |
commit | c865ee1e73b65fa2e0283e386a9ab35d83f7af99 (patch) | |
tree | 092281d210afb5b14c8489c41c08b140698015bd /src | |
parent | 7f4db9a7c3549a36e45d70fc3c159367aa1e99a4 (diff) |
Fix FreeBSD build by including utilstrencodings.h
`random.cpp` needs to explicitly include `utilstrencodings.h` to get
`ARRAYLEN`. This fixes the FreeBSD build.
This was broken in 84f41946b9026e8bf7bc44ed848dfb945394b693.
Diffstat (limited to 'src')
-rw-r--r-- | src/random.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/random.cpp b/src/random.cpp index 491272d5f3..fee6c2d92a 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -34,6 +34,7 @@ #include <sys/random.h> #endif #ifdef HAVE_SYSCTL_ARND +#include <utilstrencodings.h> // for ARRAYLEN #include <sys/sysctl.h> #endif |