summaryrefslogtreecommitdiff
path: root/Python/random.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-12-19 23:54:57 -0800
committerBenjamin Peterson <benjamin@python.org>2016-12-19 23:54:57 -0800
commit4b19d8dacb2bed474e8a193f51a09bdb122fff13 (patch)
tree4e855eacb654d74d8bae7fbd70c943d58b32e3a5 /Python/random.c
parent14f1f0553cefd8e0e4e99c98c43f6326dfb3aab7 (diff)
parent072ceda0f99b24fd62ab973b5c3ee72810a8806e (diff)
downloadcpython-4b19d8dacb2bed474e8a193f51a09bdb122fff13.tar.gz
merge 3.5 (#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)