Fix detection of sys/event.h on FreeBSD < 12
ClosedPublic

Authored by tcberner on May 30 2017, 12:04 PM.

Details

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).

Diff Detail

Repository
R133 KScreenLocker
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tcberner created this revision.May 30 2017, 12:04 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 30 2017, 12:04 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.May 30 2017, 12:39 PM
This revision is now accepted and ready to land.May 30 2017, 12:39 PM
This revision was automatically updated to reflect the committed changes.