From dfa3ca15da9bfe58b841f133bbe2b4c5f401d09f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 13 Jul 2024 13:53:30 +0100 Subject: Fix using getentropy() on musl libc. --- src/helperfuncs.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 16e97da1b..f6df1c819 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -27,6 +27,10 @@ #include +#ifndef _WIN32 +# include +#endif + #include "inspircd.h" #include "timeutils.h" #include "utility/string.h" -- cgit v1.3.1-10-gc9f91