aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_rand__util.h
blob: 7dbf39ebe0ba998c86526202411ffcb7c3eaa10d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/rand_util.h.orig	2022-03-25 21:59:56 UTC
+++ base/rand_util.h
@@ -81,7 +81,7 @@ void RandomShuffle(Itr first, Itr last) {
   std::shuffle(first, last, RandomBitGenerator());
 }
 
-#if BUILDFLAG(IS_POSIX)
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_OPENBSD)
 BASE_EXPORT int GetUrandomFD();
 #endif