blob: 8a3625b29f75a3b4937f56770b90eb5ac8c39758 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$OpenBSD: patch-base_rand_util_h,v 1.4 2021/09/01 16:54:38 robert Exp $
Index: base/rand_util.h
--- base/rand_util.h.orig
+++ base/rand_util.h
@@ -77,7 +77,7 @@ void RandomShuffle(Itr first, Itr last) {
std::shuffle(first, last, RandomBitGenerator());
}
-#if defined(OS_POSIX)
+#if defined(OS_POSIX) && !defined(OS_OPENBSD)
BASE_EXPORT int GetUrandomFD();
#endif
|