]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: avoid including sysctl.h on glibc
authorPádraig Brady <P@draigBrady.com>
Sun, 2 Feb 2020 15:52:59 +0000 (15:52 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 3 Feb 2020 19:38:02 +0000 (19:38 +0000)
commit18c9382801944a1673e3f9871e829cb8f0f30aeb
treebaa9398a2d681a1298f474ccf36de3ba84934ac2
parent2cecc3cc994b570efac9c377fa7fd0ef7e1ad122
build: avoid including sysctl.h on glibc

* src/uname.c: Avoid unneeded header with GLIBC,
which has been deprecated since glibc-2.30.
* src/uptime.c: Likewise.
src/uname.c
src/uptime.c