D6024: Fix detection of sys/event.h on FreeBSD < 12
Tobias C. Berner
noreply at phabricator.kde.org
Tue May 30 12:04:43 UTC 2017
tcberner created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
Unfortunately I only tested the kevent stuff on FreeBSD 12. FreeBSD < 12 has an older clang, which seems to add less headers automatically.
The call to `check_include_file(sys/event.h)` fails as it's missing `sys/types.h`.
So change this to `check_include_files(sys/types.h;sys/event.h)`.
REPOSITORY
R133 KScreenLocker
BRANCH
Plasma/5.10
REVISION DETAIL
https://phabricator.kde.org/D6024
AFFECTED FILES
CMakeLists.txt
To: tcberner, #freebsd
Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170530/42a5080b/attachment.html>
More information about the Plasma-devel
mailing list