diff options
-rw-r--r-- | libc/sysdeps/linux/common/getentropy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getentropy.c b/libc/sysdeps/linux/common/getentropy.c index 971674c4f..55bd48a12 100644 --- a/libc/sysdeps/linux/common/getentropy.c +++ b/libc/sysdeps/linux/common/getentropy.c @@ -13,6 +13,7 @@ #include <unistd.h> #include <sys/random.h> +#ifdef __NR_getrandom int getentropy(void *__buf, size_t __len) { @@ -41,3 +42,4 @@ getentropy(void *__buf, size_t __len) goto again; return (0); } +#endif |