summaryrefslogtreecommitdiff
path: root/devel/electron35/files/patch-base_rand__util.h
blob: c6cc8d0e2985395e37dc63dd3da112a214faa476 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/rand_util.h.orig	2025-03-24 20:50:14 UTC
+++ base/rand_util.h
@@ -209,7 +209,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