diff options
Diffstat (limited to 'Python/random.c')
-rw-r--r-- | Python/random.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/random.c b/Python/random.c index b4bc1f3..2f83b5d 100644 --- a/Python/random.c +++ b/Python/random.c @@ -3,6 +3,9 @@ #include <windows.h> #else #include <fcntl.h> +#if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY) +#include <sys/random.h> +#endif #endif #ifdef Py_DEBUG |