]> Savannah Git Hosting - gnulib.git/commit
readutmp, boot-time: Fix warning on glibc 2.30..2.31 on Linux.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Aug 2023 22:13:13 +0000 (00:13 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Aug 2023 22:13:13 +0000 (00:13 +0200)
commit6a003f564f93234ac1aeb929b8967256e84bb736
treeaa9bde5b93e131a9e96cffa8a196ce86183263af
parent5f4d15e63f94f1ffcf0bfb55e46b5ea55ee339fa
readutmp, boot-time: Fix warning on glibc 2.30..2.31 on Linux.

Reported by Pádraig Brady in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-08/msg00110.html>.

* lib/readutmp.c: Don't include <sys/sysctl.h> on glibc/Linux.
* lib/boot-time.c: Likewise.
ChangeLog
lib/boot-time.c
lib/readutmp.c