mpyne created this revision.
Restricted Application added a project: Frameworks.
REVISION SUMMARY
Believe it or not, but the `kill(2)` system call is not specified to be
available by default in C. It's part of BSD, POSIX, Single UNIX Spec, etc.,
but you do have to declare one of the various feature test macros for a strict
libc (such as musl) to expose the declaration.
The fix here was simply to define `_POSIX_SOURCE` before including the
various C stdlib or UNIX headers.
TEST PLAN
kinit now compiles with musl libc
kinit still compiles with glibc on Linux
REPOSITORY
R303 KInit
REVISION DETAIL
https://phabricator.kde.org/D6598
AFFECTED FILES
src/start_kdeinit/start_kdeinit.c
To: mpyne, #frameworks