Diffusion KInit c42f18a7fc1a

Use proper feature flag to include kill(2).

Authored by mpyne on Jul 27 2017, 3:24 AM.

Description

Use proper feature flag to include kill(2).

The kill(2) call, while common, is not part of standard C and so libc's
such as musl (used in Alpine Linux) do not expose this call unless
required to by a feature flag #define.

In this case, _POSIX_C_SOURCE is sufficient and doesn't break
compilation with glibc, musl libc, or FreeBSD.

Differential Revision: https://phabricator.kde.org/D6598

Details

Committed
mpyneJul 27 2017, 3:31 AM
Differential Revision
D6598: Declare _POSIX_SOURCE to ensure kill(2) is declared
Parents
R303:8493e6bb9b6e: GIT_SILENT Upgrade KF5 version to 5.37.0.
Branches
Unknown
Tags
Unknown