From ff88baec5a92771eff80644cd2d46c5264d77218 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 30 Aug 2024 21:26:31 +0200 Subject: Haiku doesn't have GIT_RAND_GETENTROPY diff --git a/src/util/rand.c b/src/util/rand.c index d28e4aa..db343af 100644 --- a/src/util/rand.c +++ b/src/util/rand.c @@ -10,7 +10,7 @@ See . */ #include "rand.h" #include "runtime.h" -#if defined(GIT_RAND_GETENTROPY) +#if defined(GIT_RAND_GETENTROPY) && !defined(__HAIKU__) # include #endif -- 2.45.2