mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Issue #28676: merge from 3.5
This commit is contained in:
commit
7d895d3c37
2 changed files with 9 additions and 2 deletions
|
@ -12,9 +12,10 @@
|
|||
# ifdef HAVE_LINUX_RANDOM_H
|
||||
# include <linux/random.h>
|
||||
# endif
|
||||
# ifdef HAVE_GETRANDOM
|
||||
# if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY)
|
||||
# include <sys/random.h>
|
||||
# elif defined(HAVE_GETRANDOM_SYSCALL)
|
||||
# endif
|
||||
# if !defined(HAVE_GETRANDOM) && defined(HAVE_GETRANDOM_SYSCALL)
|
||||
# include <sys/syscall.h>
|
||||
# endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue