diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2025-07-21 00:18:23 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-07-25 21:18:42 +0200 |
commit | 203e99c51d708560b7da0be44fc33efc20035738 (patch) | |
tree | 7a078d9de7269d9a65d759f1a36fafe3d918b3b0 /libc/sysdeps/linux/common/getentropy.c | |
parent | e2585415dfd005669fe50958b802894ce31c1576 (diff) |
fix getentropy()
Add missing header in commit 19fe75f0ab09c9661ff03738579171624fc35018
Reported-By: Ronald Wahl <ronald.wahl@legrand.com>
Diffstat (limited to 'libc/sysdeps/linux/common/getentropy.c')
-rw-r--r-- | libc/sysdeps/linux/common/getentropy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getentropy.c b/libc/sysdeps/linux/common/getentropy.c index 55bd48a12..d255310b6 100644 --- a/libc/sysdeps/linux/common/getentropy.c +++ b/libc/sysdeps/linux/common/getentropy.c @@ -12,6 +12,7 @@ #include <errno.h> #include <unistd.h> #include <sys/random.h> +#include <sys/syscall.h> #ifdef __NR_getrandom int |