aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp1
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