summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_rand__util.h
blob: 864efef0a114f386b915a12e0e2c479105d86b92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/rand_util.h.orig	2024-06-25 12:08:48 UTC
+++ base/rand_util.h
@@ -147,7 +147,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