12345678910111213141516 |
- $OpenBSD: patch-Python_random_c,v 1.1 2016/12/19 20:47:26 rpointel Exp $
- Issue #28932: http://bugs.python.org/issue28932
- --- Python/random.c.orig Sat Dec 17 21:05:07 2016
- +++ Python/random.c Sun Dec 18 09:43:27 2016
- @@ -3,7 +3,7 @@
- #include <windows.h>
- #else
- #include <fcntl.h>
- -#if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY)
- +#if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY) && !defined(__OpenBSD__)
- #include <sys/random.h>
- #endif
- #endif
|