summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/deps.mak4
-rw-r--r--src/librandom/random_init.c1
-rw-r--r--src/librandom/random_string.c1
-rw-r--r--src/librandom/random_uint32.c2
4 files changed, 6 insertions, 2 deletions
diff --git a/package/deps.mak b/package/deps.mak
index a37b685..89b982a 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -130,12 +130,12 @@ src/libdatastruct/gensetdyn_ready.o src/libdatastruct/gensetdyn_ready.lo: src/li
src/libdatastruct/gensetdyn_zero.o src/libdatastruct/gensetdyn_zero.lo: src/libdatastruct/gensetdyn_zero.c src/include/skalibs/gensetdyn.h
src/librandom/random_char.o src/librandom/random_char.lo: src/librandom/random_char.c src/include/skalibs/random.h
src/librandom/random_finish.o src/librandom/random_finish.lo: src/librandom/random_finish.c src/include/skalibs/djbunix.h src/librandom/random-internal.h src/include/skalibs/random.h src/include/skalibs/sysdeps.h
-src/librandom/random_init.o src/librandom/random_init.lo: src/librandom/random_init.c src/include/skalibs/djbunix.h src/librandom/random-internal.h src/include/skalibs/random.h src/include/skalibs/sysdeps.h
+src/librandom/random_init.o src/librandom/random_init.lo: src/librandom/random_init.c src/include/skalibs/djbunix.h src/include/skalibs/nonposix.h src/librandom/random-internal.h src/include/skalibs/random.h src/include/skalibs/sysdeps.h
src/librandom/random_makeseed.o src/librandom/random_makeseed.lo: src/librandom/random_makeseed.c src/include/skalibs/sha1.h src/include/skalibs/tai.h src/include/skalibs/uint32.h
src/librandom/random_name.o src/librandom/random_name.lo: src/librandom/random_name.c src/include/skalibs/random.h
src/librandom/random_sauniquename.o src/librandom/random_sauniquename.lo: src/librandom/random_sauniquename.c src/include/skalibs/random.h src/include/skalibs/skamisc.h src/include/skalibs/stralloc.h
src/librandom/random_string.o src/librandom/random_string.lo: src/librandom/random_string.c src/include/skalibs/allreadwrite.h src/include/skalibs/nonposix.h src/librandom/random-internal.h src/include/skalibs/random.h src/include/skalibs/sysdeps.h
-src/librandom/random_uint32.o src/librandom/random_uint32.lo: src/librandom/random_uint32.c src/include/skalibs/random.h src/include/skalibs/sysdeps.h src/include/skalibs/uint32.h
+src/librandom/random_uint32.o src/librandom/random_uint32.lo: src/librandom/random_uint32.c src/include/skalibs/bytestr.h src/include/skalibs/nonposix.h src/include/skalibs/random.h src/include/skalibs/sysdeps.h src/include/skalibs/uint32.h
src/librandom/random_unsort.o src/librandom/random_unsort.lo: src/librandom/random_unsort.c src/include/skalibs/bytestr.h src/include/skalibs/random.h src/include/skalibs/uint32.h
src/librandom/surf.o src/librandom/surf.lo: src/librandom/surf.c src/include/skalibs/bytestr.h src/include/skalibs/surf.h src/include/skalibs/uint32.h
src/librandom/surf_init.o src/librandom/surf_init.lo: src/librandom/surf_init.c src/include/skalibs/surf.h src/include/skalibs/uint32.h
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)