aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-base_rand__util.h
blob: 114f20ea622e542da9e00ce6a430706b72056573 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/rand_util.h.orig	2024-02-03 15:42:55 UTC
+++ base/rand_util.h
@@ -146,7 +146,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