Description: Fix compilation with gcc 4.7 Author: John Stamp --- a/src/libUnicorn/UnicornCommon.cpp +++ b/src/libUnicorn/UnicornCommon.cpp @@ -32,6 +32,8 @@ #ifdef WIN32 #include #include +#else + #include #endif using namespace std; --- a/src/lastfmapplication.cpp +++ b/src/lastfmapplication.cpp @@ -59,6 +59,8 @@ #ifdef WIN32 #include +#else + #include #endif #ifdef Q_WS_MAC --- a/src/libUnicorn/Settings.h +++ b/src/libUnicorn/Settings.h @@ -105,7 +105,7 @@ public: MyQSettings( const UserSettings* const s ) { - beginGroup( s->username() ); + this->beginGroup( s->username() ); } }; --- a/src/playerlistener.cpp +++ b/src/playerlistener.cpp @@ -33,6 +33,10 @@ #include #include +#ifdef Q_OS_UNIX + #include +#endif + using namespace std;