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:
parent
7f4db9a7c3
commit
c865ee1e73
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <sys/random.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYSCTL_ARND
|
||||
#include <utilstrencodings.h> // for ARRAYLEN
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue