From 203e99c51d708560b7da0be44fc33efc20035738 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Jul 2025 00:18:23 +0200 Subject: fix getentropy() Add missing header in commit 19fe75f0ab09c9661ff03738579171624fc35018 Reported-By: Ronald Wahl --- libc/sysdeps/linux/common/Makefile.in | 1 + libc/sysdeps/linux/common/getentropy.c | 1 + 2 files changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/common') diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in index e0b280c33..4a4317432 100644 --- a/libc/sysdeps/linux/common/Makefile.in +++ b/libc/sysdeps/linux/common/Makefile.in @@ -27,6 +27,7 @@ CSRC-$(UCLIBC_LINUX_SPECIFIC) += \ eventfd_write.c \ fanotify.c \ getrandom.c \ + getentropy.c \ inotify.c \ ioperm.c \ iopl.c \ 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 #include #include +#include #ifdef __NR_getrandom int -- cgit v1.2.3