Fix build with future glibc (major/minor macros), BSD compatible
ClosedPublic

Authored by asturmlechner on Jun 10 2017, 3:49 PM.

Details

Summary

Also adding sys/types.h which is not implicitly included from all over.

Thanks-to: [ade] in #kde-devel

See also:
https://sourceware.org/ml/libc-alpha/2015-11/msg00452.html
https://git.reviewboard.kde.org/r/127662/

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
asturmlechner created this revision.Jun 10 2017, 3:49 PM
Restricted Application added a project: KWin. · View Herald TranscriptJun 10 2017, 3:49 PM
Restricted Application added subscribers: KWin, kwin, plasma-devel. · View Herald Transcript

If I understand correctly this is no longer a change suited for the 5.8 branch.

If I understand correctly this is no longer a change suited for the 5.8 branch.

Okay, then I guess 5.10 would be it?

Personally I would say master only as it is for future glibc.

Switch to master

Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptJul 25 2017, 4:49 PM
graesslin accepted this revision.Jul 25 2017, 5:31 PM

Please reference bug 376505

This revision is now accepted and ready to land.Jul 25 2017, 5:31 PM
This revision was automatically updated to reflect the committed changes.