random-util: our baseline includes getrandom() (v3.17) now
Plus, linux/random.h never defined getrandom(), hence remove the custom machinery for sys/random.h vs linux/random.h in favor of single HAVE_GETRANDOM.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "macro.h"
|
||||
|
||||
#if USE_SYS_RANDOM_H
|
||||
#if HAVE_GETRANDOM
|
||||
# include <sys/random.h>
|
||||
#else
|
||||
# include <linux/random.h>
|
||||
|
||||
Reference in New Issue
Block a user