From 9d74019379d4626bc03fc50a47b394f83041979a Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sun, 3 Dec 2023 22:12:18 +0700 Subject: [PATCH 1/2] rand.c: fix headers for macOS --- src/rand.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git src/rand.c src/rand.c index 498d4a5..3247b69 100644 --- src/rand.c +++ src/rand.c @@ -18,6 +18,10 @@ #ifdef __unix__ # include #endif +#ifdef __APPLE__ +# include +# include +#endif #ifdef _WIN32 # include #endif