diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/librandom/random_init.c | 1 | ||||
-rw-r--r-- | src/librandom/random_string.c | 1 | ||||
-rw-r--r-- | src/librandom/random_uint32.c | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/librandom/random_init.c b/src/librandom/random_init.c index e990fb4..a26217f 100644 --- a/src/librandom/random_init.c +++ b/src/librandom/random_init.c @@ -4,6 +4,7 @@ #ifdef SKALIBS_HASARC4RANDOM +#include <skalibs/nonposix.h> #include <stdlib.h> #include <skalibs/random.h> diff --git a/src/librandom/random_string.c b/src/librandom/random_string.c index c87c8c2..83aca2c 100644 --- a/src/librandom/random_string.c +++ b/src/librandom/random_string.c @@ -4,6 +4,7 @@ #ifdef SKALIBS_HASARC4RANDOM +#include <skalibs/nonposix.h> #include <stdlib.h> #include <skalibs/random.h> 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 <skalibs/nonposix.h> #include <stdlib.h> #include <skalibs/random.h> @@ -15,6 +16,7 @@ uint32 random_uint32 (uint32 n) #else #include <skalibs/uint32.h> +#include <skalibs/bytestr.h> #include <skalibs/random.h> static inline uint32 random_mask2 (register uint32 n) |