From 46886111a32cfde5b6bb23622c1f09cf0189dc22 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 14 Oct 2016 17:32:31 +0000 Subject: Include skalibs/nonposix.h so BSDs can find arc4random --- src/librandom/random_uint32.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/librandom/random_uint32.c') diff --git a/src/librandom/random_uint32.c b/src/librandom/random_uint32.c index d011885..5fda0d3 100644 --- a/src/librandom/random_uint32.c +++ b/src/librandom/random_uint32.c @@ -4,6 +4,7 @@ #ifdef SKALIBS_HASARC4RANDOM +#include #include #include @@ -15,6 +16,7 @@ uint32 random_uint32 (uint32 n) #else #include +#include #include static inline uint32 random_mask2 (register uint32 n) -- cgit v1.3.1