From d0d8d0197f2d7bedaf02b5ef1ab0db20b61c9588 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 27 Jul 2023 13:51:36 +0200 Subject: [PATCH] build: Do not provide prototypes for arc4random() on Solaris These functions are provided by the system. --- include/bsd/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h index 51c58e8..e404bdb 100644 --- a/include/bsd/stdlib.h +++ b/include/bsd/stdlib.h @@ -51,7 +51,7 @@ #include __BEGIN_DECLS -#if !defined(__APPLE__) +#if !defined(__APPLE__) && !defined(__sun) #if !defined(__GLIBC__) || \ !__GLIBC_PREREQ(2, 36) || \ !defined(_DEFAULT_SOURCE)