Remove Include of pwd.h from kexthighscore_internal.cpp
ClosedPublic

Authored by twighk on Sun, Oct 6, 12:58 PM.

Details

Summary

Inclusion of <pwd.h> causes a compile error with craft on windows using mingw compiler.

C:/CraftRoot/build/_/27965d37/kreversi-19.08.1/kexthighscore_internal.cpp:22:10: fatal error: pwd.h: No such file or directory
#include <pwd.h>

^~~~~~~

Diff Detail

Repository
R411 KReversi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
twighk created this revision.Sun, Oct 6, 12:58 PM
Restricted Application added a reviewer: KDE Games. · View Herald TranscriptSun, Oct 6, 12:58 PM
Restricted Application added a subscriber: kde-games-devel. · View Herald Transcript
twighk requested review of this revision.Sun, Oct 6, 12:58 PM
yurchor accepted this revision.Sun, Oct 6, 2:48 PM
yurchor added a subscriber: yurchor.

Compiles fine in Linux without that include. Thanks.

This revision is now accepted and ready to land.Sun, Oct 6, 2:48 PM
This revision was automatically updated to reflect the committed changes.