ports/www/chromium/files/patch-base_rand__util.h

11 lines
305 B
C++

--- base/rand_util.h.orig 2025-03-05 08:14:56 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