only include sys/random.h if it seems like it might have something useful (#29057)
This commit is contained in:
parent
c9d4c60a56
commit
493ac1bbe0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue