[libc-commits] [libc] [libc] Internal getrandom implementation (PR #144427)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Jun 17 10:25:23 PDT 2025
================
@@ -8,9 +8,10 @@
#include "src/sys/random/getrandom.h"
+#include "src/__support/OSUtil/linux/getrandom.h"
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
#include "src/__support/common.h"
-
+#include "src/__support/error_or.h"
#include "src/__support/libc_errno.h"
#include "src/__support/macros/config.h"
#include <sys/syscall.h> // For syscall numbers.
----------------
michaelrj-google wrote:
the direct syscall includes aren't needed with this change
https://github.com/llvm/llvm-project/pull/144427
More information about the libc-commits
mailing list