summaryrefslogtreecommitdiff
path: root/Python/random.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-12-19 23:55:24 -0800
committerBenjamin Peterson <benjamin@python.org>2016-12-19 23:55:24 -0800
commit38f225dd486ab69779eab3cae4fa2375f6c2d8d6 (patch)
tree150e57264b2c9d0b2a3fdc3717282dc29e3e0b36 /Python/random.c
parent2ea5bfee1959c23d02d7d24ed74b1b3b773d8902 (diff)
parentb0eb986eb236c41ebf098233940e038c7b993b9f (diff)
downloadcpython-git-38f225dd486ab69779eab3cae4fa2375f6c2d8d6.tar.gz
merge 3.6 (#28932)
Diffstat (limited to 'Python/random.c')
-rw-r--r--Python/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c
index 46e3bb5594..f9d600f22f 100644
--- a/Python/random.c
+++ b/Python/random.c
@@ -12,7 +12,7 @@
# ifdef HAVE_LINUX_RANDOM_H
# include <linux/random.h>
# endif
-# if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY)
+# ifdef HAVE_SYS_RANDOM_H
# include <sys/random.h>
# endif
# if !defined(HAVE_GETRANDOM) && defined(HAVE_GETRANDOM_SYSCALL)