[libc-commits] [libc] [libc] Internal getrandom implementation (PR #144427)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Jun 18 10:34:36 PDT 2025


================
@@ -14,8 +14,8 @@
 #include "src/__support/macros/attributes.h"
 #include "src/__support/macros/config.h"
 #if defined(LIBC_HASHTABLE_USE_GETRANDOM)
+#include "src/__support/OSUtil/linux/getrandom.h"
 #include "src/__support/libc_errno.h"
----------------
michaelrj-google wrote:

You can remove `libc_errno.h` and replace it with `hdr/errno_macros.h` since this file doesn't touch errno anymore. You should also update the cmake for this file.

https://github.com/llvm/llvm-project/pull/144427


More information about the libc-commits mailing list