Created attachment 7766 [details] Add missing system macro include sysvinit is missing the required macro #include to build on newer glibc versions. OpenEmbedded has already patched this, buildroot should do the same. Tested patch attached.
Thanks for the bug report. Could you submit this as a proper patch on the Buildroot mailing list ? The patch on sysvinit should be Git-formatted, since sysvinit has a Git repository at http://git.savannah.nongnu.org/cgit/sysvinit.git. Also, I see that our sysvinit package is using some 2.88 version from Debian + Debian patches. But upstream seems to be a bit active at http://git.savannah.nongnu.org/cgit/sysvinit.git, and a 2.90 version was released in June 2018. Perhaps it would make sense to use it, there is a tarball at http://download.savannah.nongnu.org/releases/sysvinit/. Since you're interested in sysvinit :-)
This is fixed since the bump to sysvinit 2.90 in commit https://git.buildroot.org/buildroot/commit/package/sysvinit?id=37bd607160564296d70648eafdad0dbc593a8a95. Thanks!