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:08 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-02-26 09:59:08 +0100
commit2acbac8ef9d314b73fbbd68c2e70580988c063a9 (patch)
tree9d134169add19bb6fd752f460c6afaf16ac1310b /src/rand.c
parenteece9692d707ccb20356ec06955f8308c4e59ca7 (diff)
New upstream version 4.23upstream/4.23upstream
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