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 84f41946b9.
This commit is contained in:
Wladimir J. van der Laan 2018-05-23 21:09:03 +02:00
parent 7f4db9a7c3
commit c865ee1e73
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <sys/random.h>
#endif
#ifdef HAVE_SYSCTL_ARND
#include <utilstrencodings.h> // for ARRAYLEN
#include <sys/sysctl.h>
#endif