summaryrefslogtreecommitdiff
path: root/src/rand.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-02-26 09:59:29 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-02-26 09:59:29 +0100
commitc2476ff6a5966e61956edb2d208fed140ae7cf55 (patch)
tree8fec731deb3b43e93521e6433752163a2726e9b5 /src/rand.c
parent461d481e1a84e8e5232b471331e02ea9d63b2a2a (diff)
parent92ac2277ef889d82e56efd57a342959d8b3399d8 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/rand.c')
-rw-r--r--src/rand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rand.c b/src/rand.c
index 498d4a5..3247b69 100644
--- a/src/rand.c
+++ b/src/rand.c
@@ -18,6 +18,10 @@
#ifdef __unix__
# include <unistd.h>
#endif
+#ifdef __APPLE__
+# include <sys/types.h>
+# include <unistd.h>
+#endif
#ifdef _WIN32
# include <process.h>
#endif