<div>stalkerg created this revision.<br />
stalkerg added a subscriber: graesslin.<br />
stalkerg set the repository for this revision to rKWIN KWin.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>After update glibc to 2.23 and qt for 5.6.0 build kwin is failed.<br />
Main reason in that gcc can not find major and minor functions. (<a href="http://linux.die.net/man/3/major" class="remarkup-link" target="_blank" rel="noreferrer">http://linux.die.net/man/3/major</a>)<br />
After small investigation I understood why is happen.  Major and minor function declaration in sysmacros.h and nobody include their. Not in sys/* and not in kde or qt headers.</p>

<p>That simple patch added include sysmacros.h to source.</p>

<p>PS I was try find glibc changes who resulted in situation but I am failed.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWIN KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1437" rel="noreferrer">https://phabricator.kde.org/D1437</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>logind.cpp<br />
virtual_terminal.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>stalkerg<br /><strong>Cc: </strong>plasma-devel, graesslin, sebas<br /></div>