summaryrefslogtreecommitdiff
path: root/devel/electron34/files/patch-base_rand__util.h
blob: 625fb6a946de30e233fc8445741dcf2dbf636b0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/rand_util.h.orig	2025-01-27 17:37:37 UTC
+++ base/rand_util.h
@@ -141,7 +141,7 @@ void RandomShuffle(Itr first, Itr last) {
   std::shuffle(first, last, RandomBitGenerator());
 }
 
-#if BUILDFLAG(IS_POSIX)
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_BSD)
 BASE_EXPORT int GetUrandomFD();
 #endif