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:
Mike Yuan
2025-01-02 20:40:45 +01:00
parent 2627cd1343
commit c439bd25ca
6 changed files with 33 additions and 78 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "macro.h"
#if USE_SYS_RANDOM_H
#if HAVE_GETRANDOM
# include <sys/random.h>
#else
# include <linux/random.h>