From 24711b32841cb82930e2f6a9dbaa54d3fa554799 Mon Sep 17 00:00:00 2001 From: Peter Hajdu Date: Thu, 14 Aug 2025 10:51:55 +0200 Subject: [PATCH] Fix OpenBSD getentropy include path On OpenBSD getentropy is defined in unistd.h. --- cbits-unix/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cbits-unix/init.c b/cbits-unix/init.c index 05fb84c..88a70b2 100644 --- a/cbits-unix/init.c +++ b/cbits-unix/init.c @@ -1,6 +1,9 @@ #include #include + +#ifndef __OpenBSD__ #include +#endif uint64_t splitmix_init() { uint64_t result;