diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c index 944ef31..d203939 100644 --- a/Python/random.c +++ b/Python/random.c @@ -9,7 +9,7 @@ # ifdef HAVE_LINUX_RANDOM_H # include <linux/random.h> # endif -# ifdef HAVE_SYS_RANDOM_H +# if defined(HAVE_SYS_RANDOM_H) && (defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY)) # include <sys/random.h> # endif # if !defined(HAVE_GETRANDOM) && defined(HAVE_GETRANDOM_SYSCALL) |