summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-12-20 07:54:57 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-12-20 07:54:57 (GMT)
commitb0eb986eb236c41ebf098233940e038c7b993b9f (patch)
treefb52bf832962d592652034d5e35cfd160b3418ea /Python
parent7f5954d1f0f0c3b893d85069d27c21ac12b97e46 (diff)
parentfb2ae15c6704a072afeef4786749d9bb2ce7d68d (diff)
downloadcpython-b0eb986eb236c41ebf098233940e038c7b993b9f.zip
cpython-b0eb986eb236c41ebf098233940e038c7b993b9f.tar.gz
cpython-b0eb986eb236c41ebf098233940e038c7b993b9f.tar.bz2
merge 3.5 (#28932)
Diffstat (limited to 'Python')
-rw-r--r--Python/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c
index 46e3bb5..f9d600f 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)