Kaydet (Commit) 493ac1bb authored tarafından Benjamin Peterson's avatar Benjamin Peterson

only include sys/random.h if it seems like it might have something useful (#29057)

üst c9d4c60a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment